Skip to contentSkip to conversation

f2fs: fix wrong kernel message when recover fsync data on ro fs

PATCH In review Yunlei He 2 participants 2 messages Jul 19, 2018 – Jul 24, 2018 F2FS file system

lore
Share & tools
lore

Yunlei He

author
#0 lore raw

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.

---
 fs/f2fs/recovery.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/f2fs/recovery.c +2 -1
index 0d927ae..9832edb 100644
@@ -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