From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+ab18fa9c959320611727@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [jfs?] WARNING in dbAdjTree
Date: Wed, 24 Jan 2024 09:38:35 +0800 [thread overview]
Message-ID: <tencent_E352FDC65FC9B06EFB6ED30C9CA7EF46DC06@qq.com> (raw)
In-Reply-To: <000000000000ad0392060f337207@google.com>
please test WARNING in dbAdjTree
#syz test upstream
diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c
index 8eec84c651bf..bed14d5169f8 100644
--- a/fs/jfs/jfs_dmap.c
+++ b/fs/jfs/jfs_dmap.c
@@ -2294,6 +2294,7 @@ static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
*/
dbitno = blkno & (BPERDMAP - 1);
word = dbitno >> L2DBWORD;
+ printk("dbitno: %d, blkno: %ld, word: %d, %s\n", dbitno, blkno, word, __func__);
/* block range better be within the dmap.
*/
@@ -2875,8 +2876,9 @@ static void dbAdjTree(dmtree_t *tp, int leafno, int newval, bool is_ctl)
/* pick up the index of the leaf for this leafno.
*/
lp = leafno + le32_to_cpu(tp->dmt_leafidx);
+ printk("lp: %d, leafno: %d, tp: %p, %s\n", lp, leafno, tp, __func__);
- if (WARN_ON_ONCE(lp >= size || lp < 0))
+ if (lp >= size || lp < 0)
return;
/* is the current value the same as the old value ? if so,
next prev parent reply other threads:[~2024-01-24 1:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-18 7:38 [syzbot] [jfs?] WARNING in dbAdjTree syzbot
2024-01-24 1:38 ` Edward Adam Davis [this message]
2024-01-24 1:38 ` syzbot
2024-01-24 1:43 ` Edward Adam Davis
2024-01-24 1:43 ` syzbot
2024-01-24 1:45 ` Edward Adam Davis
2024-01-24 3:13 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_E352FDC65FC9B06EFB6ED30C9CA7EF46DC06@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+ab18fa9c959320611727@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.