]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
f2fs: Remove the unused argument "sbi" of func destroy_fsync_dnodes()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Thu, 27 Jun 2013 01:28:54 +0000 (09:28 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 27 Jun 2013 03:37:32 +0000 (12:37 +0900)
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>
fs/f2fs/recovery.c

index 9db8239642f42046dc7d300f4f4159ea38a7c5d6..d56d951c22537a14a9f103c679e93e64321d863f 100644 (file)
@@ -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)