diff mbox series

xfs_repair: fix wording of error message about leftover CoW blocks on the rt device

Message ID 20250324170951.GR2803749@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series xfs_repair: fix wording of error message about leftover CoW blocks on the rt device | expand

Commit Message

Darrick J. Wong March 24, 2025, 5:09 p.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

Fix the wording so the user knows it's the rt cow staging extents that
were lost.

Fixes: a9b8f0134594d0 ("xfs_repair: use realtime refcount btree data to check block types")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
 repair/scan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrey Albershteyn March 24, 2025, 5:14 p.m. UTC | #1
On 2025-03-24 10:09:51, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> Fix the wording so the user knows it's the rt cow staging extents that
> were lost.
> 
> Fixes: a9b8f0134594d0 ("xfs_repair: use realtime refcount btree data to check block types")
> Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
> ---
>  repair/scan.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/repair/scan.c b/repair/scan.c
> index 86565ebb9f2faf..7d22ff378484aa 100644
> --- a/repair/scan.c
> +++ b/repair/scan.c
> @@ -2082,7 +2082,7 @@ _("invalid rt reference count %u in record %u of %s\n"),
>  				case XR_E_UNKNOWN:
>  				case XR_E_COW:
>  					do_warn(
> -_("leftover CoW rtextent (%llu)\n"),
> +_("leftover rt CoW rtextent (%llu)\n"),
>  						(unsigned long long)rgbno);
>  					set_bmap_ext(rgno, b, len, XR_E_FREE,
>  							true);
> 

LGTM
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
diff mbox series

Patch

diff --git a/repair/scan.c b/repair/scan.c
index 86565ebb9f2faf..7d22ff378484aa 100644
--- a/repair/scan.c
+++ b/repair/scan.c
@@ -2082,7 +2082,7 @@  _("invalid rt reference count %u in record %u of %s\n"),
 				case XR_E_UNKNOWN:
 				case XR_E_COW:
 					do_warn(
-_("leftover CoW rtextent (%llu)\n"),
+_("leftover rt CoW rtextent (%llu)\n"),
 						(unsigned long long)rgbno);
 					set_bmap_ext(rgno, b, len, XR_E_FREE,
 							true);