btrfs: rename btrfs_discard workqueue to btrfs-discard
authorDavid Sterba <dsterba@suse.com>
Tue, 29 Apr 2025 10:56:41 +0000 (12:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:49 +0000 (14:30 +0200)
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>
fs/btrfs/disk-io.c

index 3d151d189510977051dfb1ed163542f9a775ba6d..1cdc1436fe4aae2c1a30e694e9a8dd47eaae25f0 100644 (file)
@@ -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 &&