]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create libxfs helper to exchange two directory entries
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:46 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:59 +0000 (11:36 -0700)
commita55712b35c065eee4ab1195233a5478fb7c93efa
treec9e27b5f23e562c359fedf0f5479b0eb227e43b4
parent90636e4531a8bfb5ef37d38a76eb97e5f5793deb
xfs: create libxfs helper to exchange two directory entries

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