aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-16 12:34:01 -0500
committerDavid Sterba <dsterba@suse.cz>2015-02-16 12:48:47 -0500
commit6f0110581911623df08bf4b65fdef4548ebcda0a (patch)
tree3914e5ec2363b3229dab89d6aabd81ae9187104d /fs/btrfs/disk-io.c
parent4bbcaa648d23470f04285c52a27d87c8fe906203 (diff)
btrfs: use correct type for workqueue flags
Through all the local wrappers to alloc_workqueue, __alloc_workqueue_key takes an unsigned int. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c7546d6512cc..29cb50b4981e 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2227,7 +2227,7 @@ static int btrfs_init_workqueues(struct btrfs_fs_info *fs_info,
2227 struct btrfs_fs_devices *fs_devices) 2227 struct btrfs_fs_devices *fs_devices)
2228{ 2228{
2229 int max_active = fs_info->thread_pool_size; 2229 int max_active = fs_info->thread_pool_size;
2230 int flags = WQ_MEM_RECLAIM | WQ_FREEZABLE | WQ_UNBOUND; 2230 unsigned int flags = WQ_MEM_RECLAIM | WQ_FREEZABLE | WQ_UNBOUND;
2231 2231
2232 fs_info->workers = 2232 fs_info->workers =
2233 btrfs_alloc_workqueue("worker", flags | WQ_HIGHPRI, 2233 btrfs_alloc_workqueue("worker", flags | WQ_HIGHPRI,