public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+3b6e67ac2b646da57862@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [gfs2?] kernel BUG in gfs2_quota_cleanup
Date: Fri, 01 Dec 2023 20:18:22 -0800	[thread overview]
Message-ID: <000000000000eb645a060b7f2c3e@google.com> (raw)
In-Reply-To: <000000000000f0bfe70605025941@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: [gfs2?] kernel BUG in gfs2_quota_cleanup
Author: eadavis@qq.com

please test kernel BUG in gfs2_quota_cleanup

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 994d5c58e50e

diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index 95dae7838b4e..af32dd8a72fa 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -1505,7 +1505,8 @@ void gfs2_quota_cleanup(struct gfs2_sbd *sdp)
 	LIST_HEAD(dispose);
 	int count;
 
-	BUG_ON(test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags));
+	BUG_ON(!test_bit(SDF_NORECOVERY, &sdp->sd_flags) && 
+		test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags));
 
 	spin_lock(&qd_lock);
 	list_for_each_entry(qd, &sdp->sd_quota_list, qd_list) {


  parent reply	other threads:[~2023-12-02  4:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-10 14:51 [syzbot] [gfs2?] kernel BUG in gfs2_quota_cleanup syzbot
2023-12-01 23:57 ` syzbot
     [not found]   ` <tencent_FCCCB879B66D7C2C2D6E4C97F4E972EE3A0A@qq.com>
2023-12-05 13:51     ` [PATCH] gfs2: fix " Andreas Gruenbacher
2023-12-02  4:18 ` syzbot [this message]
2023-12-02 21:33 ` [syzbot] [gfs2?] " syzbot
     [not found] <tencent_FDD15365E367E96523A72445B769D77D8605@qq.com>
2023-12-02  6:26 ` 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=000000000000eb645a060b7f2c3e@google.com \
    --to=syzbot+3b6e67ac2b646da57862@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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