]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Remove freeze() call from Grow_continue()
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 5 Oct 2011 02:33:29 +0000 (13:33 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 5 Oct 2011 02:33:29 +0000 (13:33 +1100)
Grow_continue() for external metadata should be executed on blocked
from monitoring array(s)/container.
Additional call to freeze() is not necessary in such case.
It produces meaningless error message only.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c

diff --git a/Grow.c b/Grow.c
index 9fa2d6b420aae39f37373c22f527e3e967610520..24d4b84ba09a4a31f1ada9e7fa62c4bf82ce7698 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -3807,7 +3807,6 @@ int Grow_continue(int mdfd, struct supertype *st, struct mdinfo *info,
        if (st->ss->external) {
                fmt_devname(buf, st->container_dev);
                container = buf;
-               freeze(st);
 
                if (!mdmon_running(st->container_dev))
                        start_mdmon(st->container_dev);