aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2013-08-15 17:11:24 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:15:59 -0400
commitf420ee1e923b931eeef5e2928791e84b1197cab3 (patch)
tree11c4273d3ff3a08d18587fb3ae1f9b156e35d12c /fs/btrfs/ctree.h
parent70f801754728017ebc909d603c69255dc1e6f06f (diff)
downloadkernel_goldelico_gta04-f420ee1e923b931eeef5e2928791e84b1197cab3.zip
kernel_goldelico_gta04-f420ee1e923b931eeef5e2928791e84b1197cab3.tar.gz
kernel_goldelico_gta04-f420ee1e923b931eeef5e2928791e84b1197cab3.tar.bz2
Btrfs: add mount option to force UUID tree checking
This should never be needed, but since all functions are there to check and rebuild the UUID tree, a mount option is added that allows to force this check and rebuild procedure. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.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 8c95476..0ef9d86 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1998,6 +1998,7 @@ struct btrfs_ioctl_defrag_range_args {
#define BTRFS_MOUNT_CHECK_INTEGRITY (1 << 20)
#define BTRFS_MOUNT_CHECK_INTEGRITY_INCLUDING_EXTENT_DATA (1 << 21)
#define BTRFS_MOUNT_PANIC_ON_FATAL_ERROR (1 << 22)
+#define BTRFS_MOUNT_RESCAN_UUID_TREE (1 << 23)
#define BTRFS_DEFAULT_COMMIT_INTERVAL (30)