]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/subvolume_types.h
Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in...
[bcachefs-tools-debian] / libbcachefs / subvolume_types.h
index c596e4270690baf4193b73d29c63b50c5351da5f..86833445af205643b81bd08b3b204005c7bee071 100644 (file)
@@ -6,6 +6,8 @@
 
 typedef DARRAY(u32) snapshot_id_list;
 
+#define IS_ANCESTOR_BITMAP     128
+
 struct snapshot_t {
        u32                     parent;
        u32                     skip[3];
@@ -14,6 +16,7 @@ struct snapshot_t {
        u32                     subvol; /* Nonzero only if a subvolume points to this node: */
        u32                     tree;
        u32                     equiv;
+       unsigned long           is_ancestor[BITS_TO_LONGS(IS_ANCESTOR_BITMAP)];
 };
 
 struct snapshot_table {