]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix comment in progress_reshape
authorNeilBrown <neilb@suse.de>
Wed, 9 Mar 2011 07:31:15 +0000 (18:31 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Mar 2011 07:31:15 +0000 (18:31 +1100)
The possible return values have changed since that comment.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c

diff --git a/Grow.c b/Grow.c
index 387bdbd58aee540e499a2246c721e1282d61a393..ea1d57fe53b06e73d16fbf374cb96df5c203024a 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -2312,8 +2312,8 @@ int progress_reshape(struct mdinfo *info, struct reshape *reshape,
         *   1 if more data from backup_point - but only as far as suspend_point,
         *     should be backed up
         *   0 if things are progressing smoothly
-        *  -1 if the reshape is finished, either because it is all done,
-        *     or due to an error.
+        *  -1 if the reshape is finished because it is all done,
+        *  -2 if the reshape is finished due to an error.
         */
 
        int advancing = (reshape->after.data_disks