From: syzbot <syzbot+ab18fa9c959320611727@syzkaller.appspotmail.com>
To: eadavis@qq.com
Cc: eadavis@qq.com, linux-kernel@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [jfs?] WARNING in dbAdjTree
Date: Tue, 23 Jan 2024 17:38:56 -0800 [thread overview]
Message-ID: <0000000000004d0ad7060fa720f3@google.com> (raw)
In-Reply-To: <tencent_E352FDC65FC9B06EFB6ED30C9CA7EF46DC06@qq.com>
> please test WARNING in dbAdjTree
>
> #syz test upstream
want either no args or 2 args (repo, branch), got 1
>
> 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
2024-01-24 1:38 ` syzbot [this message]
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=0000000000004d0ad7060fa720f3@google.com \
--to=syzbot+ab18fa9c959320611727@syzkaller.appspotmail.com \
--cc=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox