]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: create libxfs helper to remove an existing inode/name from a directory
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:15:07 +0000 (18:15 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitffed33c5cf10362e052d52e5afad5c396da60af7
tree111d525a891b1f792bc6ea3823710ed5510f48ea
parent45555b3d8f30d85bcd54b781ac7f64036372cbdf
xfs: create libxfs helper to remove an existing inode/name from a directory

Source kernel commit: 90636e4531a8bfb5ef37d38a76eb97e5f5793deb

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>
libxfs/xfs_dir2.c
libxfs/xfs_dir2.h