Re: [f2fs-dev] [PATCH v5] f2fs: add check for deleted inode

2025-02-28 Thread patchwork-bot+f2fs--- via Linux-f2fs-devel
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 27 Feb 2025 23:54:20 +0800 you wrote: > From: Leo Stone > > The syzbot reproducer mounts a f2fs image, then tries to unlink an > existing file. However, the unlinked file already has a link count of 0 > when it is

[f2fs-dev] [PATCH v5] f2fs: add check for deleted inode

2025-02-27 Thread Chao Yu via Linux-f2fs-devel
From: Leo Stone The syzbot reproducer mounts a f2fs image, then tries to unlink an existing file. However, the unlinked file already has a link count of 0 when it is read for the first time in do_read_inode(). Add a check to sanity_check_inode() for i_nlink == 0. [Chao Yu: rebase the code and f