summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-16 18:34:01 +0100
committerDavid Sterba <dsterba@suse.cz>2015-02-16 18:48:47 +0100
commit6f0110581911623df08bf4b65fdef4548ebcda0a (patch)
tree3914e5ec2363b3229dab89d6aabd81ae9187104d /fs/btrfs/scrub.c
parent4bbcaa648d23470f04285c52a27d87c8fe906203 (diff)
downloadop-kernel-dev-6f0110581911623df08bf4b65fdef4548ebcda0a.zip
op-kernel-dev-6f0110581911623df08bf4b65fdef4548ebcda0a.tar.gz
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/scrub.c')
-rw-r--r--fs/btrfs/scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index db21f17..4af5f49 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -3561,7 +3561,7 @@ static noinline_for_stack int scrub_workers_get(struct btrfs_fs_info *fs_info,
int is_dev_replace)
{
int ret = 0;
- int flags = WQ_FREEZABLE | WQ_UNBOUND;
+ unsigned int flags = WQ_FREEZABLE | WQ_UNBOUND;
int max_active = fs_info->thread_pool_size;
if (fs_info->scrub_workers_refcnt == 0) {
OpenPOWER on IntegriCloud