summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAnand Jain2018-02-13 10:50:42 +0100
committerDavid Sterba2018-03-26 15:09:33 +0200
commitf7b885befd05fa4f546cdc3e6c9a3b4a30484cd1 (patch)
tree9238299b39f317a8802887409e15fb90cbdc58a8 /fs/btrfs/ctree.h
parentbtrfs: extent_buffer_uptodate() make it static and inline (diff)
downloadkernel-qcow2-linux-f7b885befd05fa4f546cdc3e6c9a3b4a30484cd1.tar.gz
kernel-qcow2-linux-f7b885befd05fa4f546cdc3e6c9a3b4a30484cd1.tar.xz
kernel-qcow2-linux-f7b885befd05fa4f546cdc3e6c9a3b4a30484cd1.zip
btrfs: manage thread_pool mount option as %u
The mount option thread_pool is always unsigned. Manage it that way all around. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 2c96275c17e6..407f435245f5 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -935,7 +935,7 @@ struct btrfs_fs_info {
struct btrfs_workqueue *extent_workers;
struct task_struct *transaction_kthread;
struct task_struct *cleaner_kthread;
- int thread_pool_size;
+ u32 thread_pool_size;
struct kobject *space_info_kobj;