]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: pass the icreate args object to xfs_dialloc
authorDarrick J. Wong <djwong@kernel.org>
Mon, 21 Oct 2024 00:10:41 +0000 (17:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:02 +0000 (15:45 -0700)
commitbca9de398b66fd506a3e90a775d6143591e8c0bc
treee3b7128738d242a4a2e9dc9c36ef3792b790d4b4
parentec322218899e2dcd13b868526875776c185e4750
xfs: pass the icreate args object to xfs_dialloc

Source kernel commit: 390b4775d6787706b1846f15623a68e576ec900c

Pass the xfs_icreate_args object to xfs_dialloc since we can extract the
relevant mode (really just the file type) and parent inumber from there.
This simplifies the calling convention in preparation for the next
patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/iunlink.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc.h
mkfs/proto.c
repair/phase6.c