From: Jaegeuk Kim Date: Thu, 9 Feb 2017 21:25:35 +0000 (-0800) Subject: f2fs: show checkpoint version at mount time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1200abb26f8287e723e79e134b66d0041c095b73;p=openwrt%2Fstaging%2Fblogic.git f2fs: show checkpoint version at mount time If we mounted f2fs successfully, let's show current checkpoint version. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index f97e8089fb54..6eb543259e78 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -2102,6 +2102,8 @@ skip_recovery: sbi->valid_super_block ? 1 : 2, err); } + f2fs_msg(sbi->sb, KERN_NOTICE, "Mounted with checkpoint version = %llx", + cur_cp_version(F2FS_CKPT(sbi))); f2fs_update_time(sbi, CP_TIME); f2fs_update_time(sbi, REQ_TIME); return 0;