diff options
author | Yunlei He <heyunlei@huawei.com> | 2016-12-13 17:23:37 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2017-10-03 13:36:20 +0000 |
commit | 2ed473dc9155c4e031cefdb75c6edfc3d4a42817 (patch) | |
tree | 4c5ef7bbf97fec4359a0e24e58f1bb29d3ec5656 /fs | |
parent | 401c465b81a78fb2a531d37a63804a4eb8ee2027 (diff) |
f2fs: remove unused values in recover_fsync_data
commit fed24668482e07421b8e746a4886e7725434050a upstream.
This patch remove unused values in function recover_fsync_data
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/recovery.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 983c35da6bce..4a3c48c24c10 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -552,10 +552,8 @@ next: int recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only) { - struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_WARM_NODE); struct list_head inode_list; struct list_head dir_list; - block_t blkaddr; int err; int ret = 0; bool need_writecp = false; @@ -571,8 +569,6 @@ int recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only) /* prevent checkpoint */ mutex_lock(&sbi->cp_mutex); - blkaddr = NEXT_FREE_BLKADDR(sbi, curseg); - /* step #1: find fsynced inode numbers */ err = find_fsync_dnodes(sbi, &inode_list); if (err || list_empty(&inode_list)) |