diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-29 11:01:12 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:58 -0400 |
commit | 4f77dcde2841e43e4c5fe9f178a64ec40be72e17 (patch) | |
tree | c354b0642172c185db9fd2f839fff0b56e27fdf2 /fs/bcachefs/bcachefs.h | |
parent | 1546cf972709d9b10c39fdb3bff9da3f22a57226 (diff) |
bcachefs: move snapshot_t to subvolume_types.h
this doesn't need to be in bcachefs.h
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r-- | fs/bcachefs/bcachefs.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index db8c0e4fc5a3..e5834729b52a 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -629,18 +629,6 @@ struct btree_path_buf { #define REPLICAS_DELTA_LIST_MAX (1U << 16) -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; - #define BCACHEFS_ROOT_SUBVOL_INUM \ ((subvol_inum) { BCACHEFS_ROOT_SUBVOL, BCACHEFS_ROOT_INO }) |