diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-12-31 09:57:55 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 04:02:26 +0300 |
commit | e1509cf294cc670cda1fedd430f0ff175c42b591 (patch) | |
tree | 2278d21b2055970617d70ab5be1eea25584dc76b /fs/f2fs/recovery.c | |
parent | 062920734c0de9dd4f0a9bdc36fdcabc2751eb34 (diff) | |
download | linux-e1509cf294cc670cda1fedd430f0ff175c42b591.tar.xz |
f2fs: clean up to remove parameter
This patch uses dn->data_blkaddr as a parameter for the destination block
address.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r-- | fs/f2fs/recovery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 9160a37e1c7a..c4211a5862df 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -396,7 +396,8 @@ 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); - update_extent_cache(dest, &dn); + dn.data_blkaddr = dest; + update_extent_cache(&dn); recovered++; } dn.ofs_in_node++; |