]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf850056e5d1b941fb483b8a7e6412900b0680bc7
tree428b837d7a89c34ec313dc90b30fb4fd3d47066b
parent31bc69d3d10c1b82c79adb3e84df9f7ea6924ebe
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