mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-29 17:20:24 +00:00
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>
This commit is contained in:
parent
1546cf9727
commit
4f77dcde28
@ -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 })
|
||||
|
||||
|
||||
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user