diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-30 15:36:53 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-09-01 08:58:19 -0700 |
commit | 119c65e56bc131b466a7cd958a4089e286ce3c4b (patch) | |
tree | 78216377051be44a1df0f6d2fca10ea6c85e5ee7 /fs/xfs/xfs_rtalloc.c | |
parent | 3cb30d5162292a30d34f7e4fa74c13388c4d74ad (diff) | |
download | linux-119c65e56bc131b466a7cd958a4089e286ce3c4b.tar.gz linux-119c65e56bc131b466a7cd958a4089e286ce3c4b.tar.bz2 linux-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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r-- | fs/xfs/xfs_rtalloc.c | 2 |
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; |