Re: [PATCH v3] f2fs: introduce get_checkpoint_version for cleanup

2016-09-29 Thread Chao Yu
On 2016/9/28 2:32, Tiezhu Yang wrote: > 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 > --- >

Re: [PATCH v3] f2fs: introduce get_checkpoint_version for cleanup

2016-09-29 Thread Chao Yu
On 2016/9/28 2:32, Tiezhu Yang wrote: > 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 > --- > fs/f2fs/checkpoint.c | 68 >

[PATCH v3] f2fs: introduce get_checkpoint_version for cleanup

2016-09-27 Thread Tiezhu Yang
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 --- fs/f2fs/checkpoint.c | 68

[PATCH v3] f2fs: introduce get_checkpoint_version for cleanup

2016-09-27 Thread Tiezhu Yang
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 --- fs/f2fs/checkpoint.c | 68 ++-- 1