Merging upstream version 4.3+20241108.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1e24552bfc
commit
60ccb5b596
64 changed files with 2015 additions and 1768 deletions
6
Create.c
6
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue