summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-18 07:57:26 +0300
committerChandan Babu R <chandanbabu@kernel.org>2023-12-22 08:48:12 +0300
commitc2adcfa31ff606264fab6e69129d6d45c9ddb7cb (patch)
treee71487eb16532e480786014ad7c7a6575eb9e866 /fs/xfs/xfs_rtalloc.c
parenta3e48f68b5f4bc83cdded35be2c4c3cc23eb9e19 (diff)
downloadlinux-c2adcfa31ff606264fab6e69129d6d45c9ddb7cb.tar.xz
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>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 33f558166642..0475693bc199 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -24,22 +24,6 @@
#include "xfs_quota.h"
/*
- * Read and return the summary information for a given extent size,
- * bitmap block combination.
- * Keeps track of a current summary block, so we don't keep reading
- * it from the buffer cache.
- */
-static int
-xfs_rtget_summary(
- struct xfs_rtalloc_args *args,
- int log, /* log2 of extent size */
- xfs_fileoff_t bbno, /* bitmap block number */
- xfs_suminfo_t *sum) /* out: summary info for this block */
-{
- return xfs_rtmodify_summary_int(args, log, bbno, 0, sum);
-}
-
-/*
* Return whether there are any free extents in the size range given
* by low and high, for the bitmap block bbno.
*/