From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+512459401510e2a9a39f@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ext4?] INFO: task hung in filename_rmdir
Date: Thu, 5 Mar 2026 14:35:16 +0800 [thread overview]
Message-ID: <tencent_BB6ACDAC78666C6C2ECD6DEC9420EAB6ED0A@qq.com> (raw)
In-Reply-To: <69a1a0eb.050a0220.3a55be.0021.GAE@google.com>
#syz test
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index ae3804f36535..0bed3379f2d2 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -4458,19 +4458,13 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
if (IS_ERR(path)) {
err = PTR_ERR(path);
if (allocated_clusters) {
- int fb_flags = 0;
-
/*
* free data blocks we just allocated.
* not a good idea to call discard here directly,
* but otherwise we'd need to call it every free().
*/
ext4_discard_preallocations(inode);
- if (flags & EXT4_GET_BLOCKS_DELALLOC_RESERVE)
- fb_flags = EXT4_FREE_BLOCKS_NO_QUOT_UPDATE;
- ext4_free_blocks(handle, inode, NULL, newblock,
- EXT4_C2B(sbi, allocated_clusters),
- fb_flags);
+ ext4_ext_remove_space(inode, newex.ee_block, newex.ee_block);
}
goto out;
}
next prev parent reply other threads:[~2026-03-05 6:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 13:49 syzbot
2026-02-28 8:29 ` Qing Wang
2026-02-28 9:02 ` syzbot
2026-02-28 9:44 ` Qing Wang
2026-03-01 8:35 ` Edward Adam Davis
2026-03-01 9:09 ` syzbot
2026-03-05 4:51 ` Edward Adam Davis
2026-03-05 5:33 ` syzbot
2026-03-05 6:35 ` Edward Adam Davis [this message]
2026-03-05 7:08 ` syzbot
2026-03-05 12:21 ` Edward Adam Davis
2026-03-05 14:11 ` syzbot
2026-03-06 1:18 ` Edward Adam Davis
2026-03-06 2:20 ` 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_BB6ACDAC78666C6C2ECD6DEC9420EAB6ED0A@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+512459401510e2a9a39f@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 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®