diff options
author | David Sterba <dsterba@suse.com> | 2021-06-18 16:16:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-22 14:11:58 +0200 |
commit | cbeaae4f6f6e787b7dac6230a31d9ad93d594f95 (patch) | |
tree | 1c2484f267898ea39c5c867bb4a47b3a4b7ed963 /fs/btrfs/disk-io.c | |
parent | ccd9395b5241310f1ef518ad371f8de779f0b681 (diff) | |
download | linux-cbeaae4f6f6e787b7dac6230a31d9ad93d594f95.tar.bz2 |
btrfs: shorten integrity checker extent data mount option
Subjectively, CHECK_INTEGRITY_INCLUDING_EXTENT_DATA is quite long and
calling it CHECK_INTEGRITY_DATA still keeps the meaning and matches the
mount option name.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 544bb7a82e57..6eb0010f9c7e 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3598,8 +3598,7 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device if (btrfs_test_opt(fs_info, CHECK_INTEGRITY)) { ret = btrfsic_mount(fs_info, fs_devices, btrfs_test_opt(fs_info, - CHECK_INTEGRITY_INCLUDING_EXTENT_DATA) ? - 1 : 0, + CHECK_INTEGRITY_DATA) ? 1 : 0, fs_info->check_integrity_print_mask); if (ret) btrfs_warn(fs_info, |