]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
repair: remove rmap handling in process_rt_rec
authorChristoph Hellwig <hch@lst.de>
Thu, 15 Aug 2024 06:53:29 +0000 (08:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Aug 2024 12:56:16 +0000 (14:56 +0200)
rtrmap is only supported with RT groups, which don't use this path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
repair/dinode.c

index 918989ca6290a6c6e5a2c36405876ee8c942e33f..cec372dbf2d715eced80fae10ff0402eac8f9f3f 100644 (file)
@@ -472,11 +472,6 @@ _("inode %" PRIu64 " - bad rt extent overflows - start %" PRIu64 ", "
         * bump up the block counter
         */
        *tot += irec->br_blockcount;
-
-       /* Record mapping data for the realtime rmap. */
-       if (collect_rmaps && !zap_metadata && !check_dups)
-               rmap_add_rec(mp, ino, XFS_DATA_FORK, irec, true);
-
        return 0;
 }