xfs: refactor reflink functions to use xfs_trans_alloc_inode
authorDarrick J. Wong <djwong@kernel.org>
Wed, 27 Jan 2021 18:07:27 +0000 (10:07 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commitf273387b048543f2b8b2d809cc65fca28e7788a1
tree428b837d7a89c34ec313dc90b30fb4fd3d47066b
parent3de4eb106fcc97f086b78bd17a0c3529691e8259
xfs: refactor reflink functions to use xfs_trans_alloc_inode

The two remaining callers of xfs_trans_reserve_quota_nblks are in the
reflink code.  These conversions aren't as uniform as the previous
conversions, so call that out in a separate patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c