f2fs: introduce cur_cp_version function to reduce code size
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 9 Aug 2013 06:03:21 +0000 (15:03 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 9 Aug 2013 06:25:37 +0000 (15:25 +0900)
commitd71b5564c0da4f652af2e4ca9d3c22b9c960ec1f
treed869cc779ae463c7769aa640e849b90ffd71f52a
parente518ff81c337e39b9b63d92ba41e4512521d7c9c
f2fs: introduce cur_cp_version function to reduce code size

This patch introduces a new inline function, cur_cp_version, to reduce redundant
codes.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/recovery.c
fs/f2fs/xattr.c