f2fs: fix wrong kernel message when recover fsync data on ro fs
PATCH 1/1 f2fs: fix wrong kernel message when recover fsync data on ro fs
This patch fix wrong message info for recover fsync data on readonly fs.
Signed-off-by Yunlei He <[email protected]>
--- fs/f2fs/recovery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/f2fs/recovery.c +2 -1
@@ -628,7 +628,8 @@ int f2fs_recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only)#endif if (s_flags &SB_RDONLY ) { -f2fs_msg (sbi->sb,KERN_INFO ,"orphan cleanup on readonly fs" ); +f2fs_msg (sbi->sb,KERN_INFO , +"recover fsync data on readonly fs" ); sbi->sb->s_flags &= ~SB_RDONLY ; }
Signature · 6 lines
1.9.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Quoted 4 lines · Yunlei He
This patch fix wrong message info for recover fsync data on readonly fs.
Signed-off-by Yunlei He <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot