]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create libxfs helper to link an existing inode into a directory
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:14:36 +0000 (18:14 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit926504400091d45a3a59bebeeb77d1eb18a843e2
tree0b2f9d2d005d5ea5c7a237d4248ef16f1b3737c4
parent7ce57cdc9ce7a0d7d159ddcf90894a3c56f6a6e6
xfs: create libxfs helper to link an existing inode into a directory

Source kernel commit: c1f0bad4232fd309b2fe849153fcf473e775b1f7

Create a new libxfs function to link an existing inode into 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