diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-02-09 13:25:35 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-02-23 10:10:50 -0800 |
commit | 1200abb26f8287e723e79e134b66d0041c095b73 (patch) | |
tree | d4b8095b301bb4765b8e93d7083782577b497828 /fs/f2fs/super.c | |
parent | 6de3f12eb737dae30628296d75c67664e8b1506e (diff) | |
download | linux-1200abb26f8287e723e79e134b66d0041c095b73.tar.bz2 |
f2fs: show checkpoint version at mount time
If we mounted f2fs successfully, let's show current checkpoint version.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |