From c456301a05dcbb3267ef13cd83e10c6867ea34ea Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 15 May 2012 12:12:58 +1000 Subject: Grow: don't print message if unfreezing fails. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Grow.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Grow.c b/Grow.c index 9350a07..8e3b5c0 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); } } -- cgit v1.2.1