Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
fs/btrfs/disk-io.c
··· 1994 1994 btrfs_alloc_ordered_workqueue(fs_info, "qgroup-rescan", 1995 1995 ordered_flags); 1996 1996 fs_info->discard_ctl.discard_workers = 1997 - alloc_ordered_workqueue("btrfs_discard", WQ_FREEZABLE); 1997 + alloc_ordered_workqueue("btrfs-discard", WQ_FREEZABLE); 1998 1998 1999 1999 if (!(fs_info->workers && 2000 2000 fs_info->delalloc_workers && fs_info->flush_workers &&