]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: remove the meaningless XFS_ALLOC_FLAG_FREEING
authorJinliang Zheng <alexjlzheng@tencent.com>
Thu, 2 Jul 2026 19:59:50 +0000 (12:59 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 8 Jul 2026 08:40:42 +0000 (10:40 +0200)
Source kernel commit: bfb4dc533d0abaca07013dd71e6b5c6f182232b3

In xfs_refcount_finish_one(), there's no need to pass
XFS_ALLOC_FLAG_FREEING to xfs_alloc_read_agf().

So remove it.

Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_refcount.c

index 036497dbb22b702ebf5b78d07a94fca60302a8c0..1d45160789f036d99797b998c44fb3b7b9d8a61d 100644 (file)
@@ -1412,8 +1412,7 @@ xfs_refcount_finish_one(
        if (rcur == NULL) {
                struct xfs_perag        *pag = to_perag(ri->ri_group);
 
-               error = xfs_alloc_read_agf(pag, tp,
-                               XFS_ALLOC_FLAG_FREEING, &agbp);
+               error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
                if (error)
                        return error;