summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2013-06-27 09:28:54 +0800
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:53 +0900
commitc34ea8569f123be136c6961c700d601047dd7ae7 (patch)
tree6eb6db201bad544b00a449051afe32ae506c4f0f /fs
parent34b86e7fb2daa225fe3d1dcc71f0ba82f510c9a9 (diff)
downloadlinux-3.10-c34ea8569f123be136c6961c700d601047dd7ae7.tar.gz
linux-3.10-c34ea8569f123be136c6961c700d601047dd7ae7.tar.bz2
linux-3.10-c34ea8569f123be136c6961c700d601047dd7ae7.zip
f2fs: remove the unused argument "sbi" of func destroy_fsync_dnodes()
As destroy_fsync_dnodes() is a simple list-cleanup func, so delete the unused and unrelated f2fs_sb_info argument of it. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/recovery.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index 9db8239642f..d56d951c225 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -192,8 +192,7 @@ out:
return err;
}
-static void destroy_fsync_dnodes(struct f2fs_sb_info *sbi,
- struct list_head *head)
+static void destroy_fsync_dnodes(struct list_head *head)
{
struct fsync_inode_entry *entry, *tmp;
@@ -438,7 +437,7 @@ int recover_fsync_data(struct f2fs_sb_info *sbi)
err = recover_data(sbi, &inode_list, CURSEG_WARM_NODE);
BUG_ON(!list_empty(&inode_list));
out:
- destroy_fsync_dnodes(sbi, &inode_list);
+ destroy_fsync_dnodes(&inode_list);
kmem_cache_destroy(fsync_entry_slab);
sbi->por_doing = 0;
if (!err)