summaryrefslogtreecommitdiffstats
path: root/Build.c
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-10-07 14:20:17 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-05 13:36:43 +0100
commit119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6 (patch)
tree95dea358d25a8fdea7acabdfae6911eed7bb82f2 /Build.c
parentReadMe: Fix stylistic issues (diff)
downloadmdadm-119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6.tar.xz
mdadm-119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6.zip
mdadm: drop auto= support
According to author (and what was described in man): "With mdadm 3.0, device creation is normally left up to udev so this is option is unlikely to be needed" This was a workaround for kernel 2.6 family issues (partitionable and non-partitionable arrays hell) and I believe we are far away from it now. I'm not aware of any usage of it, hence it is removed. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'Build.c')
-rw-r--r--Build.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build.c b/Build.c
index 052b1bc2..6f63d3f3 100644
--- a/Build.c
+++ b/Build.c
@@ -75,8 +75,7 @@ int Build(struct mddev_ident *ident, struct mddev_dev *devlist, struct shape *s,
/* We need to create the device. It can have no name. */
map_lock(&map);
- mdfd = create_mddev(ident->devname, NULL, c->autof, LOCAL,
- chosen_name, 0);
+ mdfd = create_mddev(ident->devname, NULL, LOCAL, chosen_name, 0);
if (mdfd < 0) {
map_unlock(&map);
return 1;