aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-08-30 22:36:53 +0000
committerDarrick J. Wong <[email protected]>2024-09-01 15:58:19 +0000
commit119c65e56bc131b466a7cd958a4089e286ce3c4b (patch)
tree78216377051be44a1df0f6d2fca10ea6c85e5ee7 /fs/xfs/xfs_rtalloc.c
parentxfs: make the RT rsum_cache mandatory (diff)
downloadkernel-119c65e56bc131b466a7cd958a4089e286ce3c4b.tar.gz
kernel-119c65e56bc131b466a7cd958a4089e286ce3c4b.zip
xfs: remove the limit argument to xfs_rtfind_back
All callers pass a 0 limit to xfs_rtfind_back, so remove the argument and hard code it. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 26eab1b408c8..3728445b0b1c 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -142,7 +142,7 @@ xfs_rtallocate_range(
* We need to find the beginning and end of the extent so we can
* properly update the summary.
*/
- error = xfs_rtfind_back(args, start, 0, &preblock);
+ error = xfs_rtfind_back(args, start, &preblock);
if (error)
return error;