summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-03-19 12:23:32 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2015-04-11 00:08:49 +0200
commit216a620a7c3d35ae604ba519c99c5cd1ce4dad6e (patch)
tree19a921c7d4480be6bacd33965b99d3d0b5248330 /fs/f2fs/recovery.c
parentf2fs: enable fast symlink by utilizing inline data (diff)
downloadlinux-216a620a7c3d35ae604ba519c99c5cd1ce4dad6e.tar.xz
linux-216a620a7c3d35ae604ba519c99c5cd1ce4dad6e.zip
f2fs: split set_data_blkaddr from f2fs_update_extent_cache
Split __set_data_blkaddr from f2fs_update_extent_cache for readability. Additionally rename __set_data_blkaddr to set_data_blkaddr for exporting. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index 6e40874dfbb9..e60ffaa380f1 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -403,6 +403,7 @@ static int do_recover_data(struct f2fs_sb_info *sbi, struct inode *inode,
/* write dummy data page */
recover_data_page(sbi, NULL, &sum, src, dest);
dn.data_blkaddr = dest;
+ set_data_blkaddr(&dn);
f2fs_update_extent_cache(&dn);
recovered++;
}