]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: pass the icreate args object to xfs_dialloc
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Aug 2024 22:36:49 +0000 (15:36 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit390b4775d6787706b1846f15623a68e576ec900c
treedc26d7c3556b36dc24fad7674b5674353f600762
parentfeb09b727b03421179282299362620ea0d07a066
xfs: pass the icreate args object to xfs_dialloc

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>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.h
fs/xfs/scrub/tempfile.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_symlink.c