commit | fc0065adb202518e25fb929cda7d5887a456f774 | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <kernelpatch@126.com> | Fri Sep 30 08:24:53 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Sep 30 17:34:37 2016 -0700 |
tree | 6282a9d5a8b3c659b2e07d17412350223bebce61 | |
parent | 3fa565039e3338f60d7e7a8e818835dabdea764b [diff] |
f2fs: introduce get_checkpoint_version for cleanup There exists almost same codes when get the value of pre_version and cur_version in function validate_checkpoint, this patch adds get_checkpoint_version to clean up redundant codes. Signed-off-by: Tiezhu Yang <kernelpatch@126.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>