f2fs: introduce f2fs_replace_block() for reuse
authorChao Yu <chao2.yu@samsung.com>
Wed, 6 May 2015 05:08:06 +0000 (13:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 May 2015 22:41:42 +0000 (15:41 -0700)
commit19f106bc03e62739961249a29916ee3602ac3de9
tree3946b70b7a6b97a5e1370ddc552cf04cd896c2d2
parentd5b692b786e1aea68d2c6737dd0abeebc1dad619
f2fs: introduce f2fs_replace_block() for reuse

Introduce a generic function replace_block base on recover_data_page,
and export it. So with it we can operate file's meta data which is in
CP/SSA area when we invoke fallocate with FALLOC_FL_COLLAPSE_RANGE
flag.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/recovery.c
fs/f2fs/segment.c
This page took 0.031777 seconds and 5 git commands to generate.