From: NeilBrown Date: Tue, 15 May 2012 02:12:58 +0000 (+1000) Subject: Grow: don't print message if unfreezing fails. X-Git-Tag: mdadm-3.2.5~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c456301a05dcbb3267ef13cd83e10c6867ea34ea;p=thirdparty%2Fmdadm.git Grow: don't print message if unfreezing fails. This is most likely to happen if the array has been stopped, in which case the error is pointless. Reported-by: Patrik HornĂ­k Signed-off-by: NeilBrown --- diff --git a/Grow.c b/Grow.c index 9350a079..8e3b5c0f 100644 --- a/Grow.c +++ b/Grow.c @@ -623,8 +623,6 @@ static void unfreeze(struct supertype *st) if (sra) sysfs_set_str(sra, NULL, "sync_action", "idle"); - else - fprintf(stderr, Name ": failed to unfreeze array\n"); sysfs_free(sra); } }