aboutsummaryrefslogtreecommitdiffstats
path: root/probe_roms.c
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-05-23 12:06:36 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-05-28 17:19:38 +0200
commit46f19270265fe54cda1c728cb156b755273b4ab6 (patch)
tree5c736901750b0f12d7dfb962805480828249913a /probe_roms.c
parent9dbd11e091f84eb0bf9d717283774816c4c4453d (diff)
downloadmdadm-master.tar.gz
imsm: fix first volume autolayout with IMSM_NO_PLATFORMHEADmastermain
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