summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/space-info.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-10-25 10:53:12 +0100
committerDavid Sterba <dsterba@suse.com>2019-11-18 17:51:46 +0100
commitbf2df5aed1c881f79b001ee19642e386bcda6d80 (patch)
treecede1b06660074bd4edbb58c9d55de3d228acfab /fs/btrfs/space-info.c
parentf5389f330d6f28d648c51624f059b0bfdd9b1806 (diff)
downloadlinux-bf2df5aed1c881f79b001ee19642e386bcda6d80.tar.bz2
Btrfs: remove wait queue from space_info structure
It is not used anymore since commit 957780eb2788d8 ("Btrfs: introduce ticketed enospc infrastructure"), so just remove it. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.c')
-rw-r--r--fs/btrfs/space-info.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c
index 3a2b0d1155a8..22b4968699e1 100644
--- a/fs/btrfs/space-info.c
+++ b/fs/btrfs/space-info.c
@@ -58,7 +58,6 @@ static int create_space_info(struct btrfs_fs_info *info, u64 flags)
spin_lock_init(&space_info->lock);
space_info->flags = flags & BTRFS_BLOCK_GROUP_TYPE_MASK;
space_info->force_alloc = CHUNK_ALLOC_NO_FORCE;
- init_waitqueue_head(&space_info->wait);
INIT_LIST_HEAD(&space_info->ro_bgs);
INIT_LIST_HEAD(&space_info->tickets);
INIT_LIST_HEAD(&space_info->priority_tickets);