diff options
Diffstat (limited to 'disk-io.h')
-rw-r--r-- | disk-io.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,7 +36,7 @@ enum btrfs_open_ctree_flags { OPEN_CTREE_PARTIAL = (1U << 1), /* If primary root pinters are invalid, try backup copies */ OPEN_CTREE_BACKUP_ROOT = (1U << 2), - /* Allow reading all superblock sopies if the primary is damaged */ + /* Allow reading all superblock copies if the primary is damaged */ OPEN_CTREE_RECOVER_SUPER = (1U << 3), /* Restoring filesystem image */ OPEN_CTREE_RESTORE = (1U << 4), @@ -100,6 +100,12 @@ enum btrfs_read_sb_flags { * SBREAD_RECOVER */ SBREAD_TEMPORARY = (1 << 1), + + /* + * Equivalent of OPEN_CTREE_IGNORE_FSID_MISMATCH, allow to read + * superblock that has mismatched sb::fsid and sb::dev_item.fsid + */ + SBREAD_IGNORE_FSID_MISMATCH = (1 << 2), }; /* |