summaryrefslogtreecommitdiffstats
path: root/Create.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 11:41:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 11:41:33 +0000
commite9922970d313f8bbf5440586f3020904ff7e057c (patch)
tree24090f3abf9370a2ff1ba6327d8c06c068f9c171 /Create.c
parentReleasing debian version 4.3+20240723-2. (diff)
downloadmdadm-e9922970d313f8bbf5440586f3020904ff7e057c.tar.xz
mdadm-e9922970d313f8bbf5440586f3020904ff7e057c.zip
Merging upstream version 4.3+20241108.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Create.c')
-rw-r--r--Create.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Create.c b/Create.c
index 7fde1c1..140a709 100644
--- a/Create.c
+++ b/Create.c
@@ -23,9 +23,11 @@
*/
#include "mdadm.h"
-#include "udev.h"
#include "md_u.h"
#include "md_p.h"
+#include "udev.h"
+#include "xmalloc.h"
+
#include <ctype.h>
#include <fcntl.h>
#include <signal.h>
@@ -1043,7 +1045,7 @@ int Create(struct supertype *st, struct mddev_ident *ident, int subdevs,
/* We need to create the device */
map_lock(&map);
- mdfd = create_mddev(ident->devname, ident->name, c->autof, LOCAL, chosen_name, 1);
+ mdfd = create_mddev(ident->devname, ident->name, LOCAL, chosen_name, 1);
if (mdfd < 0) {
map_unlock(&map);
return 1;