aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 14:23:00 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:55 -0500
commit7bf1a159125f1d8d6833daca3818e0ad2af62459 (patch)
treeb2fe9f96a304d8b92006dbe64103732e52c5fce2
parentd75eefdf9671115ce810598e15f72d20e3de0906 (diff)
btrfs: remove unused parameter from cleanup_write_cache_enospc
bitmap_list is unused since the io_ctl framework. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/free-space-cache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index e96e981ef01e..cf7add504788 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -1124,8 +1124,7 @@ cleanup_bitmap_list(struct list_head *bitmap_list)
1124static void noinline_for_stack 1124static void noinline_for_stack
1125cleanup_write_cache_enospc(struct inode *inode, 1125cleanup_write_cache_enospc(struct inode *inode,
1126 struct btrfs_io_ctl *io_ctl, 1126 struct btrfs_io_ctl *io_ctl,
1127 struct extent_state **cached_state, 1127 struct extent_state **cached_state)
1128 struct list_head *bitmap_list)
1129{ 1128{
1130 io_ctl_drop_pages(io_ctl); 1129 io_ctl_drop_pages(io_ctl);
1131 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, 1130 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0,
@@ -1361,7 +1360,7 @@ out_nospc_locked:
1361 mutex_unlock(&ctl->cache_writeout_mutex); 1360 mutex_unlock(&ctl->cache_writeout_mutex);
1362 1361
1363out_nospc: 1362out_nospc:
1364 cleanup_write_cache_enospc(inode, io_ctl, &cached_state, &bitmap_list); 1363 cleanup_write_cache_enospc(inode, io_ctl, &cached_state);
1365 1364
1366 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) 1365 if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA))
1367 up_write(&block_group->data_rwsem); 1366 up_write(&block_group->data_rwsem);