]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: iget for metadata inodes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:17 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:25 +0000 (18:01 -0800)
commit3c2daed21627ae0d252126b210d335d1ff1c2312
treec70f45975978cd25fb06a621f4758490ee5b29cf
parent65713c2c2ec38a3bff001efdc892177747559c36
xfs: iget for metadata inodes

Source kernel commit df2e495bb92c84a401b6b90c835a9d1be84a3a0f

Create a xfs_trans_metafile_iget function for metadata inodes to ensure
that when we try to iget a metadata file, the inode is allocated and its
file mode matches the metadata file type the caller expects.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/libxfs.h
include/xfs_inode.h
libxfs/Makefile
libxfs/inode.c
libxfs/libxfs_api_defs.h
libxfs/xfs_metafile.h [new file with mode: 0644]