From: syzbot <syzbot+b75d75f957975f3d40e3@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [ext4?] WARNING in ext4_journal_check_start (2)
Date: Thu, 08 May 2025 20:44:56 -0700 [thread overview]
Message-ID: <681d7a38.050a0220.a19a9.0123.GAE@google.com> (raw)
In-Reply-To: <6711ae3d.050a0220.1e4b4d.000a.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: Re: [syzbot] [ext4?] WARNING in ext4_journal_check_start (2)
Author: richard120310@gmail.com
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c964ced77262
Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
---
fs/ext4/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 54bdd4884fe6..d799f424f218 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2806,7 +2806,7 @@ static int ext4_writepages(struct address_space *mapping,
int ret;
int alloc_ctx;
- if (unlikely(ext4_forced_shutdown(sb)))
+ if (unlikely(ext4_forced_shutdown(sb)) || mapping->host->i_sb->s_writers.frozen == SB_FREEZE_COMPLETE)
return -EIO;
alloc_ctx = ext4_writepages_down_read(sb);
--
2.43.0
next prev parent reply other threads:[~2025-05-09 3:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 0:39 syzbot
2025-05-09 3:44 ` syzbot [this message]
2025-05-09 14:52 ` [RFC PATCH] ext4: Prevent to write when SB_FREEZE_COMPLETE I Hsin Cheng
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=681d7a38.050a0220.a19a9.0123.GAE@google.com \
--to=syzbot+b75d75f957975f3d40e3@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
all inboxes | Powered by JetHome®