f2fs: print error information in f2fs_put_super()
Chao Yu
maintainerPATCH 1/1 f2fs: print error information in f2fs_put_super()
From: Chao Yu <[email protected]>
So that we can how in which path we may missed to account the reference correclty: normal path or error handling path.
Signed-off-by Chao Yu <[email protected]>
--- fs/f2fs/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/f2fs/super.c +2 -1
@@ -2080,7 +2080,8 @@ static void f2fs_put_super(struct super_block *sb)if (!get_pages (sbi, i))continue ;f2fs_err (sbi,"detect filesystem reference count leak during " -"umount, type: %d, count: %lld" , i,get_pages (sbi, i)); +"umount, type: %d, count: %lld, err: %d, cp_err: %d" , + i,get_pages (sbi, i), err,f2fs_cp_error (sbi));f2fs_bug_on (sbi,1 ); }
Signature · 1 line
2.49.0
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:
Quoted 8 lines · On Wed, 5 Aug 2026 12:29:47 +0000 you wrote:
From: Chao Yu <[email protected]>
So that we can how in which path we may missed to account the reference correclty: normal path or error handling path.
Signed-off-by Chao Yu <[email protected]>[...]
Here is the summary with links:
- [f2fs-dev] f2fs: print error information in f2fs_put_super()
https://git.kernel.org/jaegeuk/f2fs/c/f80550644c81
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html