summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2018-12-11 10:30:30 +1100
committerDimitri John Ledkov <xnox@ubuntu.com>2018-12-11 10:30:30 +1100
commit59d2f4ec0b9dff7b56da34541dffd3e676adf584 (patch)
tree0f982d10b206f248f13de6ba48617e9bdae5e5f5 /disk-io.h
parent3b9cf4c8cda0818e4d3f9892ece9f7d99de13b03 (diff)
parent5b162a39be9dec46a22c815f43fc337b920b4252 (diff)
Update upstream source from tag 'upstream/4.19.1'
Update to upstream version '4.19.1' with Debian dir 171bf4d92c150acf94e8e0a7633c4349c4e39ad6
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/disk-io.h b/disk-io.h
index fefdb0a7..05cbbce6 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -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),
};
/*