projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de3f12
)
f2fs: show checkpoint version at mount time
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 9 Feb 2017 21:25:35 +0000
(13:25 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 23 Feb 2017 18:10:50 +0000
(10:10 -0800)
If we mounted f2fs successfully, let's show current checkpoint version.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index f97e8089fb5446ecf83609d3286aab0ddcdfd79d..6eb543259e78d8f4b9b9dda65ae3afea2e459159 100644
(file)
--- 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;