From: Yunlei He Date: Thu, 19 Jul 2018 06:57:14 +0000 (+0800) Subject: f2fs: fix wrong kernel message when recover fsync data on ro fs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e6b0b159cf2f62de69561f585fe8515d3d9189d4;p=linux.git 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 Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 956f34c87082c..64e5a59a270a3 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -639,7 +639,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; }