]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Grow.c
Incremental: Use md_array_active() where applicable
[thirdparty/mdadm.git] / Grow.c
diff --git a/Grow.c b/Grow.c
index 15f4ed1253bf05813e119c7242453e4eaa52f429..c6967ed1c9c7715a6b2c4ff5e1c05747c0261137 100755 (executable)
--- a/Grow.c
+++ b/Grow.c
@@ -5002,6 +5002,7 @@ int Grow_continue_command(char *devname, int fd,
                        goto Grow_continue_command_exit;
                }
                content = &array;
+               sysfs_init(content, fd, NULL);
                /* Need to load a superblock.
                 * FIXME we should really get what we need from
                 * sysfs