]> git.itanic.dy.fi Git - linux-stable/commit
xfs: move xfs_rtget_summary to xfs_rtbitmap.c
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Dec 2023 04:57:26 +0000 (05:57 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 22 Dec 2023 05:48:12 +0000 (11:18 +0530)
commitc2adcfa31ff606264fab6e69129d6d45c9ddb7cb
treee71487eb16532e480786014ad7c7a6575eb9e866
parenta3e48f68b5f4bc83cdded35be2c4c3cc23eb9e19
xfs: move xfs_rtget_summary to xfs_rtbitmap.c

xfs_rtmodify_summary_int is only used inside xfs_rtbitmap.c and to
implement xfs_rtget_summary.  Move xfs_rtget_summary to xfs_rtbitmap.c
as the exported API and mark xfs_rtmodify_summary_int static.

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>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/xfs_rtalloc.c