Re: [f2fs-dev] [PATCH] f2fs: fix to detect inconsistent nat entry during truncation

2024-04-14 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 22 Mar 2024 22:59:55 +0800 you wrote: > As Roman Smirnov reported as below: > > " > There is a possible bug in f2fs_truncate_inode_blocks(): > > if (err < 0 && err != -ENOENT) > goto

[f2fs-dev] [PATCH] f2fs: fix to detect inconsistent nat entry during truncation

2024-03-22 Thread Chao Yu
As Roman Smirnov reported as below: " There is a possible bug in f2fs_truncate_inode_blocks(): if (err < 0 && err != -ENOENT) goto fail; ... offset[1] = 0; offset[0]++; nofs += err; If err = -ENOENT then nofs will sum with an error