summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik2017-09-29 21:43:48 +0200
committerDavid Sterba2017-10-30 12:28:00 +0100
commitfb592373cddeb4ed6c21eef4d6063f15176ab463 (patch)
treedbfa3110091a813f04042206ec40fc7f06afe359 /fs/btrfs/ctree.h
parentbtrfs: get rid of sector_t and use u64 offset in submit_extent_page (diff)
downloadkernel-qcow2-linux-fb592373cddeb4ed6c21eef4d6063f15176ab463.tar.gz
kernel-qcow2-linux-fb592373cddeb4ed6c21eef4d6063f15176ab463.tar.xz
kernel-qcow2-linux-fb592373cddeb4ed6c21eef4d6063f15176ab463.zip
btrfs: add ref-verify mount option
This adds the infrastructure for turning ref verify on and off for a mount, to be used by a later patch. Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> [ enhnance btrfs_print_mod_info to print if ref-verify is compiled in ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 7995666af959..75947c6c04c3 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1335,6 +1335,7 @@ static inline u32 BTRFS_MAX_XATTR_SIZE(const struct btrfs_fs_info *info)
#define BTRFS_MOUNT_FRAGMENT_METADATA (1 << 25)
#define BTRFS_MOUNT_FREE_SPACE_TREE (1 << 26)
#define BTRFS_MOUNT_NOLOGREPLAY (1 << 27)
+#define BTRFS_MOUNT_REF_VERIFY (1 << 28)
#define BTRFS_DEFAULT_COMMIT_INTERVAL (30)
#define BTRFS_DEFAULT_MAX_INLINE (2048)