]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: hoist new inode initialization functions to libxfs
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:37 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:57 +0000 (11:36 -0700)
commite9d2b35bb9d3ff372fad27998fc3969ced3f563d
tree06cfdcc1940c404b6cb8e51a1685b7603fd753e0
parent38fd3d6a956f1b104f11cd6eee116c54bfe458c4
xfs: hoist new inode initialization functions to libxfs

Move all the code that initializes a new inode's attributes from the
icreate_args structure and the parent directory into libxfs.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_inode_util.c
fs/xfs/libxfs/xfs_inode_util.h
fs/xfs/libxfs/xfs_shared.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_trans.h