btrfs: remove unused parameter from cleanup_write_cache_enospc
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 19:23:00 +0000 (20:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:55 +0000 (12:03 +0100)
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>
fs/btrfs/free-space-cache.c

index e96e981ef01ed6ae8c1ee6b0eddd192bb9911b64..cf7add5047880c85e66cd901f1a3a63787c92cce 100644 (file)
@@ -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);