diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2013-06-26 21:28:54 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-07-01 19:48:15 -0400 |
commit | 5ebefc5b409a194a09da7ad1962b4bfce10a6859 (patch) | |
tree | c130a7d15b7aba8493a43c4ae61a75b1407a3814 /fs/f2fs | |
parent | 763bfe1bc575dcce56dc5c570dc005d94911705f (diff) |
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/f2fs')
-rw-r--r-- | fs/f2fs/recovery.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 9db8239642f4..d56d951c2253 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c | |||
@@ -192,8 +192,7 @@ out: | |||
192 | return err; | 192 | return err; |
193 | } | 193 | } |
194 | 194 | ||
195 | static void destroy_fsync_dnodes(struct f2fs_sb_info *sbi, | 195 | static void destroy_fsync_dnodes(struct list_head *head) |
196 | struct list_head *head) | ||
197 | { | 196 | { |
198 | struct fsync_inode_entry *entry, *tmp; | 197 | struct fsync_inode_entry *entry, *tmp; |
199 | 198 | ||
@@ -438,7 +437,7 @@ int recover_fsync_data(struct f2fs_sb_info *sbi) | |||
438 | err = recover_data(sbi, &inode_list, CURSEG_WARM_NODE); | 437 | err = recover_data(sbi, &inode_list, CURSEG_WARM_NODE); |
439 | BUG_ON(!list_empty(&inode_list)); | 438 | BUG_ON(!list_empty(&inode_list)); |
440 | out: | 439 | out: |
441 | destroy_fsync_dnodes(sbi, &inode_list); | 440 | destroy_fsync_dnodes(&inode_list); |
442 | kmem_cache_destroy(fsync_entry_slab); | 441 | kmem_cache_destroy(fsync_entry_slab); |
443 | sbi->por_doing = 0; | 442 | sbi->por_doing = 0; |
444 | if (!err) | 443 | if (!err) |