From cc737f6a43e5d9f784cc7faadab1e900099ae507 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sat, 10 Aug 2024 10:44:18 +0200 Subject: [PATCH] fold --- fs/xfs/scrub/bmap.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/xfs/scrub/bmap.c b/fs/xfs/scrub/bmap.c index 23f69725a342..a77195334490 100644 --- a/fs/xfs/scrub/bmap.c +++ b/fs/xfs/scrub/bmap.c @@ -320,14 +320,13 @@ xchk_bmap_rt_iextent_xref( error = xchk_rtgroup_init(info->sc, xfs_rtb_to_rgno(ip->i_mount, irec->br_startblock), &info->sc->sr); - if (!xchk_fblock_process_error(info->sc, info->whichfork, - irec->br_startoff, &error)) - goto out_free; + if (error) + return; xchk_rtgroup_lock(&info->sc->sr, XCHK_RTGLOCK_ALL); xchk_xref_is_used_rt_space(info->sc, irec->br_startblock, irec->br_blockcount); -out_free: + xchk_rtgroup_free(info->sc, &info->sc->sr); } -- 2.50.1