diff options
author | Christoph Hellwig <hch@lst.de> | 2023-12-18 05:57:20 +0100 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2023-12-22 06:48:11 +0100 |
commit | 58643460546da1dc61593fc6fd78762798b4534f (patch) | |
tree | 585eefcc5213151aa6bdc223d5992c46780f00e3 /fs/xfs/xfs_rtalloc.h | |
parent | xfs: remove the xfs_alloc_arg argument to xfs_bmap_btalloc_accounting (diff) | |
download | linux-58643460546da1dc61593fc6fd78762798b4534f.tar.xz linux-58643460546da1dc61593fc6fd78762798b4534f.zip |
xfs: also use xfs_bmap_btalloc_accounting for RT allocations
Make xfs_bmap_btalloc_accounting more generic by handling the RT quota
reservations and then also use it from xfs_bmap_rtalloc instead of
open coding the accounting logic there.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.h')
0 files changed, 0 insertions, 0 deletions