f2fs: new helper cur_cp_crc() getting crc in f2fs_checkpoint
authorKinglong Mee <kinglongmee@gmail.com>
Sat, 25 Feb 2017 11:53:39 +0000 (19:53 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:07:47 +0000 (10:07 -0800)
commitced2c7ea8e99b46755a270872cd5ba61c27cffad
tree35fb8c20a172d24422d53738c878f16721b059dd
parent727ebb091e1778cc3a4842ae04f8f54da111eee0
f2fs: new helper cur_cp_crc() getting crc in f2fs_checkpoint

There are four places that getting the crc value in f2fs_checkpoint,
just add a new helper cur_cp_crc for them.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h