summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-05-11 16:08:45 +0800
committerDavid Sterba <dsterba@suse.cz>2015-05-14 15:41:07 +0200
commit2259f03439bd697b64efdb09dfc75638f24c4b48 (patch)
tree4eb36a6e415975ba4412a273c2f378fd508ae3f2 /ctree.h
parent9ae2b8b52fe18efc0aab16ac3a5d1286a495b347 (diff)
btrfs-progs: Add open_ctree check for uuid changing
Now open_ctree will exit if it found the superblock is marked CHANGING_FSID, except given IGNORE_FSID open ctree flags. Kernel will do the same thing later. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> [removed the chunk tree flag, reworded the error message] Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 7c1bef55..98cb1fb9 100644
--- a/ctree.h
+++ b/ctree.h
@@ -1011,6 +1011,7 @@ struct btrfs_fs_info {
unsigned int is_chunk_recover:1;
unsigned int quota_enabled:1;
unsigned int suppress_check_block_errors:1;
+ unsigned int ignore_fsid_mismatch:1;
int (*free_extent_hook)(struct btrfs_trans_handle *trans,
struct btrfs_root *root,