From 7f102ee83d83fd918783ca542fac1574f9b2c623 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 31 Mar 2023 15:52:24 -0400 Subject: Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing backpointers in alloc keys Signed-off-by: Kent Overstreet --- libbcachefs/subvolume_types.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libbcachefs/subvolume_types.h') diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h index f7562b5d..aa49c45a 100644 --- a/libbcachefs/subvolume_types.h +++ b/libbcachefs/subvolume_types.h @@ -6,4 +6,16 @@ typedef DARRAY(u32) snapshot_id_list; +struct snapshot_t { + u32 parent; + u32 children[2]; + u32 subvol; /* Nonzero only if a subvolume points to this node: */ + u32 equiv; +}; + +typedef struct { + u32 subvol; + u64 inum; +} subvol_inum; + #endif /* _BCACHEFS_SUBVOLUME_TYPES_H */ -- cgit v1.2.3