f2fs: hide common code in f2fs_replace_block
authorChao Yu <chao2.yu@samsung.com>
Thu, 28 May 2015 11:15:35 +0000 (19:15 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Jun 2015 16:52:07 +0000 (09:52 -0700)
This patch clean up codes through:
1.rename f2fs_replace_block to __f2fs_replace_block().
2.introduce new f2fs_replace_block() to include __f2fs_replace_block()
and some common related codes around __f2fs_replace_block().

Then, newly introduced function f2fs_replace_block can be used by
following patch.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

No differences found