summaryrefslogtreecommitdiff
path: root/libbcachefs/subvolume_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/subvolume_types.h')
-rw-r--r--libbcachefs/subvolume_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h
index 750d975a..c596e427 100644
--- a/libbcachefs/subvolume_types.h
+++ b/libbcachefs/subvolume_types.h
@@ -16,6 +16,10 @@ struct snapshot_t {
u32 equiv;
};
+struct snapshot_table {
+ struct snapshot_t s[0];
+};
+
typedef struct {
u32 subvol;
u64 inum;