summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-18 05:57:20 +0100
committerChandan Babu R <chandanbabu@kernel.org>2023-12-22 06:48:11 +0100
commit58643460546da1dc61593fc6fd78762798b4534f (patch)
tree585eefcc5213151aa6bdc223d5992c46780f00e3 /fs/xfs/xfs_rtalloc.h
parentxfs: remove the xfs_alloc_arg argument to xfs_bmap_btalloc_accounting (diff)
downloadlinux-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