]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Grow: make warning about old metadata more explicit.
authorNeilBrown <neilb@suse.de>
Wed, 3 Oct 2012 04:44:20 +0000 (14:44 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 3 Oct 2012 04:44:20 +0000 (14:44 +1000)
Don't print it just when --verbose is set, and explain how
to over-ride it.

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

diff --git a/Grow.c b/Grow.c
index 6da939786b57edaf1ba0af0dd729931166462256..18fb3ee154a943edf47a656e0b13e464e8c26238 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -3775,9 +3775,8 @@ int Grow_restart(struct supertype *st, struct mdinfo *info, int *fdlist, int cnt
                                        (unsigned long)__le64_to_cpu(bsb.mtime),
                                        (unsigned long)info->array.utime);
                        } else {
-                               if (verbose)
-                                       pr_err("too-old timestamp on "
-                                               "backup-metadata on %s\n", devname);
+                               pr_err("too-old timestamp on backup-metadata on %s\n", devname);
+                               pr_err("If you think it is should be safe, try 'export MDADM_GROW_ALLOW_OLD=1'\n");
                                continue; /* time stamp is too bad */
                        }
                }