]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: hoist new inode initialization functions to libxfs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:13:18 +0000 (18:13 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitfa2f7708223e7654f8c3b07d8cada0be8d8f7996
tree301d6dbb4e26a5a87ca6900b2b5b8db1ee7784c7
parent2e85cabb0ee996f47dd013e63bf3e6610bbc7b8e
xfs: hoist new inode initialization functions to libxfs

Source kernel commit: e9d2b35bb9d3ff372fad27998fc3969ced3f563d

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>
include/xfs_inode.h
libxfs/inode.c
libxfs/xfs_inode_util.c
libxfs/xfs_inode_util.h
libxfs/xfs_shared.h
repair/phase6.c