Btrfs: remove wait queue from space_info structure
PATCH 1/1 Btrfs: remove wait queue from space_info structure
From: Filipe Manana <[email protected]>
It is not used anymore since commit 957780eb2788d8 ("Btrfs: introduce ticketed enospc infrastructure"), so just remove it.
Signed-off-by Filipe Manana <[email protected]>
--- fs/btrfs/space-info.c | 1 - fs/btrfs/space-info.h | 1 - 2 files changed, 2 deletions(-)
fs/btrfs/space-info.c +0 -1
@@ -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);
fs/btrfs/space-info.h +0 -1
@@ -63,7 +63,6 @@ struct btrfs_space_info {struct rw_semaphore groups_sem;/* for block groups in our same type */ struct list_head block_groups[BTRFS_NR_RAID_TYPES ]; -wait_queue_head_t wait;struct kobject kobj;struct kobject *block_group_kobjs[BTRFS_NR_RAID_TYPES ];
Signature · 1 line
2.11.0
Quoted 6 lines · On Fri, Oct 25, 2019 at 10:53:12AM +0100, [email protected] wrote:
From: Filipe Manana <[email protected]>
It is not used anymore since commit
957780eb2788d8("Btrfs: introduce ticketed enospc infrastructure"), so just remove it.Signed-off-by Filipe Manana <[email protected]>
Added to misc-next, thanks.