From 435d4ebb2e39fec062e201d287e8f73369291522 Mon Sep 17 00:00:00 2001 From: Luca Berra Date: Mon, 16 Oct 2006 15:26:53 +1000 Subject: Mdassemble improvements From: Luca Berra - Fix a bug where mdassemble didn't close a filedescriptor and so couldn't assembele stacked arrays. - Allow mdassemble, when run a second time, to mark all arrays as writable. This is useful if they are started read-only as is best at boot-time. --- Manage.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Manage.c') diff --git a/Manage.c b/Manage.c index aea21e6..0378b6e 100644 --- a/Manage.c +++ b/Manage.c @@ -72,6 +72,8 @@ int Manage_ro(char *devname, int fd, int readonly) return 0; } +#ifndef MDASSEMBLE + int Manage_runstop(char *devname, int fd, int runstop, int quiet) { /* Run or stop the array. array must already be configured @@ -394,3 +396,4 @@ int Manage_subdevs(char *devname, int fd, return 0; } +#endif -- cgit