f2fs: show checkpoint version at mount time
Subsystems (2)
Jaegeuk Kim
maintainerPATCH 1/1 f2fs: show checkpoint version at mount time
If we mounted f2fs successfully, let's show current checkpoint version.
Signed-off-by Jaegeuk Kim <[email protected]>
--- fs/f2fs/super.c | 2 ++ 1 file changed, 2 insertions(+)
fs/f2fs/super.c +2 -0
@@ -2100,6 +2100,8 @@ static int f2fs_fill_super(struct super_block *sb, void *data, int silent) 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 ;
Signature · 1 line
2.11.0