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/scrub.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/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index db21f17df996..4af5f49a3105 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) { |