]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create libxfs helper to link an existing inode into a directory
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:43 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:59 +0000 (11:36 -0700)
commitc1f0bad4232fd309b2fe849153fcf473e775b1f7
treecfd0691e8fac5970d39f4421ae47b8473be77348
parent1fa2e81957cf11620867729fb613b121692ee0d3
xfs: create libxfs helper to link an existing inode into a directory

Create a new libxfs function to link an existing inode into a directory.
The upcoming metadata directory feature will need this to create a
metadata directory tree.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/xfs_inode.c