From ad73653d36c9bd59872479e3c41f8942c70945b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Nov 2024 12:40:59 +0100 Subject: Adding upstream version 4.3+20241108. Signed-off-by: Daniel Baumann --- Create.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Create.c') 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 #include #include @@ -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; -- cgit v1.2.3