]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create libxfs helper to remove an existing inode/name from a directory
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:45 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:59 +0000 (11:36 -0700)
commit90636e4531a8bfb5ef37d38a76eb97e5f5793deb
tree65be6ccf1fab5af5596dbc5a3c5d458102ee19f4
parent1964435d19d947b8626379d09db3e33b9669f333
xfs: create libxfs helper to remove an existing inode/name from a directory

Create a new libxfs function to remove a (name, inode) entry from 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