]> www.infradead.org Git - users/hch/xfs.git/commitdiff
fold
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Aug 2024 08:44:18 +0000 (10:44 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 07:35:27 +0000 (09:35 +0200)
fs/xfs/scrub/bmap.c

index 23f69725a342b79ed527f962afcd5c676385ebd6..a771953344906f751d3a39792e87a677054f76c5 100644 (file)
@@ -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);
 }