mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 14:41:22 -05:00
btrfs: rename btrfs_discard workqueue to btrfs-discard
We use the "btrfs-" prefix for our workqueues, the discard has underscore instead of dash, so unify it. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -1994,7 +1994,7 @@ static int btrfs_init_workqueues(struct btrfs_fs_info *fs_info)
|
||||
btrfs_alloc_ordered_workqueue(fs_info, "qgroup-rescan",
|
||||
ordered_flags);
|
||||
fs_info->discard_ctl.discard_workers =
|
||||
alloc_ordered_workqueue("btrfs_discard", WQ_FREEZABLE);
|
||||
alloc_ordered_workqueue("btrfs-discard", WQ_FREEZABLE);
|
||||
|
||||
if (!(fs_info->workers &&
|
||||
fs_info->delalloc_workers && fs_info->flush_workers &&
|
||||
|
||||
Reference in New Issue
Block a user