]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Grow: be more relaxed about timestamp mismatches on backup file.
authorNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:59:11 +0000 (11:59 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:59:11 +0000 (11:59 +1100)
commit097075b6111f46f87207b02bc3819280c39180f0
tree1c8559bc7098648bf9bbcf4c5f17c806598ee68a
parent4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf
Grow: be more relaxed about timestamp mismatches on backup file.

As backup file has a timestamp which is updated quite separately
from the metadata timestamp.  They should be largely in-sync but
sometimes are not.
So be more generous in the check, and allow it to be over-ridden
by an environment variable.

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