xfs: move incore structures out of xfs_da_format.h
Move the abstract in-memory version of various btree block headers out of xfs_da_format.h as they aren't on-disk formats. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
7f6bcf7c29
commit
a39f089a25
@@ -8,6 +8,25 @@
|
||||
|
||||
struct dir_context;
|
||||
|
||||
/*
|
||||
* In-core version of the leaf and free block headers to abstract the
|
||||
* differences in the v2 and v3 disk format of the headers.
|
||||
*/
|
||||
struct xfs_dir3_icleaf_hdr {
|
||||
uint32_t forw;
|
||||
uint32_t back;
|
||||
uint16_t magic;
|
||||
uint16_t count;
|
||||
uint16_t stale;
|
||||
};
|
||||
|
||||
struct xfs_dir3_icfree_hdr {
|
||||
uint32_t magic;
|
||||
uint32_t firstdb;
|
||||
uint32_t nvalid;
|
||||
uint32_t nused;
|
||||
};
|
||||
|
||||
/* xfs_dir2.c */
|
||||
extern int xfs_dir2_grow_inode(struct xfs_da_args *args, int space,
|
||||
xfs_dir2_db_t *dbp);
|
||||
|
Reference in New Issue
Block a user