]> Git Repo - linux.git/commit - fs/xfs/libxfs/xfs_ialloc.c
xfs: split new inode creation into two pieces
authorDarrick J. Wong <[email protected]>
Tue, 2 Jul 2024 18:22:36 +0000 (11:22 -0700)
committerDarrick J. Wong <[email protected]>
Tue, 2 Jul 2024 18:36:57 +0000 (11:36 -0700)
commit38fd3d6a956f1b104f11cd6eee116c54bfe458c4
treebd692cf19a8b29b21574450d0ad0da3900b06c82
parenta7b12718cb90188bc1a062d6cbb9d9a3f790e20a
xfs: split new inode creation into two pieces

There are two parts to initializing a newly allocated inode: setting up
the incore structures, and initializing the new inode core based on the
parent inode and the current user's environment.  The initialization
code is not specific to the kernel, so we would like to share that with
userspace by hoisting it to libxfs.  Therefore, split xfs_icreate into
separate functions to prepare for the next few patches.

Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/xfs_inode.c
This page took 0.056847 seconds and 4 git commands to generate.