xfs: Expose init_xattrs in xfs_create_tmpfile
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 22 Apr 2024 16:47:43 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:57 +0000 (07:46 -0700)
commit297da63379c6cba504a33aa7c526f36b148d4610
tree6f7cd99b5972345fb8c4f0feacf7b3af44398e23
parentae673f534a30976ce5e709c4535a59c12b786ef3
xfs: Expose init_xattrs in xfs_create_tmpfile

Tmp files are used as part of rename operations and will need attr forks
initialized for parent pointers.  Expose the init_xattrs parameter to
the calling function to initialize the fork.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c