summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAnand Jain2018-02-13 10:50:46 +0100
committerDavid Sterba2018-03-26 15:09:33 +0200
commitd3740608646f72fb94705a853946f647abcfaec4 (patch)
tree84a6a9f4a40b271921c788cd9f4c8845334cf527 /fs/btrfs/ctree.h
parentbtrfs: manage check_int_print_mask mount option as %u (diff)
downloadkernel-qcow2-linux-d3740608646f72fb94705a853946f647abcfaec4.tar.gz
kernel-qcow2-linux-d3740608646f72fb94705a853946f647abcfaec4.tar.xz
kernel-qcow2-linux-d3740608646f72fb94705a853946f647abcfaec4.zip
btrfs: manage commit mount option as %u
As the commit mount option is unsigned so manage it as %u for token verifications, instead of %d. 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 407f435245f5..024d5feb5856 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -788,7 +788,7 @@ struct btrfs_fs_info {
unsigned long pending_changes;
unsigned long compress_type:4;
unsigned int compress_level;
- int commit_interval;
+ u32 commit_interval;
/*
* It is a suggestive number, the read side is safe even it gets a
* wrong number because we will write out the data into a regular