diff options
author | David Sterba <dsterba@suse.cz> | 2015-02-16 18:34:01 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-02-16 18:48:47 +0100 |
commit | 6f0110581911623df08bf4b65fdef4548ebcda0a (patch) | |
tree | 3914e5ec2363b3229dab89d6aabd81ae9187104d /fs/btrfs/disk-io.c | |
parent | 4bbcaa648d23470f04285c52a27d87c8fe906203 (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.c | 2 |
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, struct btrfs_fs_devices *fs_devices) { int max_active = fs_info->thread_pool_size; - int flags = WQ_MEM_RECLAIM | WQ_FREEZABLE | WQ_UNBOUND; + unsigned int flags = WQ_MEM_RECLAIM | WQ_FREEZABLE | WQ_UNBOUND; fs_info->workers = btrfs_alloc_workqueue("worker", flags | WQ_HIGHPRI, |