summaryrefslogtreecommitdiff
path: root/libbcachefs/inode_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/inode_format.h')
-rw-r--r--libbcachefs/inode_format.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libbcachefs/inode_format.h b/libbcachefs/inode_format.h
index be1e7476..1b93e189 100644
--- a/libbcachefs/inode_format.h
+++ b/libbcachefs/inode_format.h
@@ -165,4 +165,12 @@ LE64_BITMASK(INODEv3_FIELDS_START,
struct bch_inode_v3, bi_flags, 31, 36);
LE64_BITMASK(INODEv3_MODE, struct bch_inode_v3, bi_flags, 36, 52);
+struct bch_inode_alloc_cursor {
+ struct bch_val v;
+ __u8 bits;
+ __u8 pad;
+ __le32 gen;
+ __le64 idx;
+};
+
#endif /* _BCACHEFS_INODE_FORMAT_H */