summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
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/async-thread.h
parent4bbcaa648d23470f04285c52a27d87c8fe906203 (diff)
downloadlinux-6f0110581911623df08bf4b65fdef4548ebcda0a.tar.bz2
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/async-thread.h')
-rw-r--r--fs/btrfs/async-thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/async-thread.h b/fs/btrfs/async-thread.h
index e386c29ef1f6..ec2ee477f8ba 100644
--- a/fs/btrfs/async-thread.h
+++ b/fs/btrfs/async-thread.h
@@ -66,7 +66,7 @@ BTRFS_WORK_HELPER_PROTO(scrubwrc_helper);
BTRFS_WORK_HELPER_PROTO(scrubnc_helper);
struct btrfs_workqueue *btrfs_alloc_workqueue(const char *name,
- int flags,
+ unsigned int flags,
int max_active,
int thresh);
void btrfs_init_work(struct btrfs_work *work, btrfs_work_func_t helper,