btrfs: rename btrfs_discard workqueue to btrfs-discard
David Sterba
maintainerPATCH 1/1 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.
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/disk-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/disk-io.c +1 -1
@@ -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 &&
Signature · 1 line
2.49.0
Looks good,
Reviewed-by Johannes Thumshirn <[email protected]>