From: Darrick J. Wong Date: Fri, 10 Jul 2020 19:35:45 +0000 (-0400) Subject: xfs_repair: complain about extents in unknown state X-Git-Tag: xfsprogs-5.7-fixes_2020-07-14~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32e11be93066605e0543aafafb393b51d5e10d23;p=thirdparty%2Fxfsprogs-dev.git xfs_repair: complain about extents in unknown state During phase 4, if we find any extents that are unaccounted for, report the entire extent, not just the first block. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/repair/phase4.c b/repair/phase4.c index a43413c74..191b48426 100644 --- a/repair/phase4.c +++ b/repair/phase4.c @@ -315,8 +315,8 @@ phase4(xfs_mount_t *mp) case XR_E_BAD_STATE: default: do_warn( - _("unknown block state, ag %d, block %d\n"), - i, j); + _("unknown block state, ag %d, blocks %u-%u\n"), + i, j, j + blen - 1); /* fall through .. */ case XR_E_UNKNOWN: case XR_E_FREE: