]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create libxfs helper to exchange two directory entries
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:15:23 +0000 (18:15 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit273c0ead0234137a7f4ee628b1f5e8c9038a49e4
tree3809f60ca06030d0b7653321a3ddb1b0cd026126
parentffed33c5cf10362e052d52e5afad5c396da60af7
xfs: create libxfs helper to exchange two directory entries

Source kernel commit: a55712b35c065eee4ab1195233a5478fb7c93efa

Create a new libxfs function to exchange two directory entries.
The upcoming metadata directory feature will need this to replace a
metadata inode directory entry.

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