]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: create libxfs helper to exchange two directory entries
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:36 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:13:13 +0000 (17:13 -0700)
commitc555c9e79e455d25f33f12ffd660ba697f0b41e6
tree753eba37191065706a48dd08bde33f2722fa47fc
parent2b7cc09cb5252ac8b87a011be2e2ff55678f0524
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>
libxfs/xfs_dir2.c
libxfs/xfs_dir2.h