From 5a77e0e7c57e8c0a5e7e6877a2612d60b5805f44 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 16 Feb 2023 13:52:53 -0800 Subject: [PATCH] xfs_spaceman: fix broken -g behavior in freesp command Don't zero out the histogram bucket count when turning on group summary mode -- this will screw up the data structures and it's pointless. Signed-off-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- spaceman/freesp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/spaceman/freesp.c b/spaceman/freesp.c index 423568a42..70dcdb5c9 100644 --- a/spaceman/freesp.c +++ b/spaceman/freesp.c @@ -284,7 +284,6 @@ init( speced = 1; break; case 'g': - histcount = 0; gflag++; break; case 'h': -- 2.47.3