diff options
author | David Sterba <dsterba@suse.com> | 2017-02-10 20:23:00 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:55 +0100 |
commit | 7bf1a159125f1d8d6833daca3818e0ad2af62459 (patch) | |
tree | b2fe9f96a304d8b92006dbe64103732e52c5fce2 /fs/btrfs/free-space-cache.c | |
parent | d75eefdf9671115ce810598e15f72d20e3de0906 (diff) | |
download | linux-7bf1a159125f1d8d6833daca3818e0ad2af62459.tar.gz linux-7bf1a159125f1d8d6833daca3818e0ad2af62459.tar.bz2 linux-7bf1a159125f1d8d6833daca3818e0ad2af62459.zip |
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>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r-- | fs/btrfs/free-space-cache.c | 5 |
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) static void noinline_for_stack cleanup_write_cache_enospc(struct inode *inode, struct btrfs_io_ctl *io_ctl, - struct extent_state **cached_state, - struct list_head *bitmap_list) + struct extent_state **cached_state) { io_ctl_drop_pages(io_ctl); unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, @@ -1361,7 +1360,7 @@ out_nospc_locked: mutex_unlock(&ctl->cache_writeout_mutex); out_nospc: - cleanup_write_cache_enospc(inode, io_ctl, &cached_state, &bitmap_list); + cleanup_write_cache_enospc(inode, io_ctl, &cached_state); if (block_group && (block_group->flags & BTRFS_BLOCK_GROUP_DATA)) up_write(&block_group->data_rwsem); |