summaryrefslogtreecommitdiff
path: root/fs/bcachefs/sb-members_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/sb-members_format.h')
-rw-r--r--fs/bcachefs/sb-members_format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/bcachefs/sb-members_format.h b/fs/bcachefs/sb-members_format.h
index e2630548c0f6..d727d2dfda08 100644
--- a/fs/bcachefs/sb-members_format.h
+++ b/fs/bcachefs/sb-members_format.h
@@ -8,6 +8,11 @@
*/
#define BCH_SB_MEMBERS_MAX 64
+/*
+ * Sentinal value - indicates a device that does not exist
+ */
+#define BCH_SB_MEMBER_INVALID 255
+
#define BCH_MIN_NR_NBUCKETS (1 << 6)
#define BCH_IOPS_MEASUREMENTS() \