diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-02-13 10:50:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:33 +0200 |
commit | d3740608646f72fb94705a853946f647abcfaec4 (patch) | |
tree | 84a6a9f4a40b271921c788cd9f4c8845334cf527 /fs/btrfs/ctree.h | |
parent | btrfs: manage check_int_print_mask mount option as %u (diff) | |
download | linux-d3740608646f72fb94705a853946f647abcfaec4.tar.xz 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.h | 2 |
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 |