diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-10-07 14:20:17 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-11-05 13:36:43 +0100 |
commit | 119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6 (patch) | |
tree | 95dea358d25a8fdea7acabdfae6911eed7bb82f2 /Build.c | |
parent | ReadMe: Fix stylistic issues (diff) | |
download | mdadm-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |