diff options
| author | Tiezhu Yang <kernelpatch@126.com> | 2016-09-30 08:24:53 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-26 09:42:46 +0100 |
| commit | 2f958b8e22eca953eef22eece9a018cda96a1e2d (patch) | |
| tree | 9492a171fba1724ae4b5a5b6dee93992eaf4d04a /include/linux/debugobjects.h | |
| parent | 65b9d5326d7d6dcd9239481e98ed2d4938420f31 (diff) | |
f2fs: introduce get_checkpoint_version for cleanup
commit fc0065adb202518e25fb929cda7d5887a456f774 upstream.
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>
[bwh: Backported to 4.4: f2fs_crc_valid() doesn't take an f2fs_sb_info pointer]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
