]> 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)
commit8eddd0099e35c6bf9e50c6e19a89b62fae283fd6
tree428b837d7a89c34ec313dc90b30fb4fd3d47066b
parent5c43434eb8efc6f5cf49e3e30450fa9b823aab65
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