xfs: read and write metadata inode directory tree

Plumb in the bits we need to load metadata inodes from a named entry in
a metadir directory, create (or hardlink) inodes into a metadir
directory, create metadir directories, and flag inodes as being metadata
files.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Darrick J. Wong
2024-11-03 20:18:52 -08:00
parent 7297fd0beb
commit 5d9b54a4ef
8 changed files with 685 additions and 2 deletions

View File

@@ -46,6 +46,8 @@
#include "xfs_parent.h"
#include "xfs_rmap.h"
#include "xfs_refcount.h"
#include "xfs_metafile.h"
#include "xfs_metadir.h"
/*
* We include this last to have the helpers above available for the trace