diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-05-23 12:06:36 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-05-28 17:19:38 +0200 |
commit | 46f19270265fe54cda1c728cb156b755273b4ab6 (patch) | |
tree | 5c736901750b0f12d7dfb962805480828249913a /probe_roms.c | |
parent | 9dbd11e091f84eb0bf9d717283774816c4c4453d (diff) | |
download | mdadm-master.tar.gz |
Autolayout_imsm() is not executed if IMSM_NO_PLATFORM=1 is set.
This causes that first volume cannot be created. Disk for new volume are
never configured.
Fix it by making autolayout_imsm() independent from super->orom because
NULL there means that IMSM_NO_PLATFORM=1 is set. There are not platform
restrictions to create volume, we just analyze drives. It is safe.
Fixes: 6d4d9ab295de ("imsm: use same slot across container")
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'probe_roms.c')
0 files changed, 0 insertions, 0 deletions