]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: pass subarray id to kill_subarray function
authorBlazej Kucman <blazej.kucman@intel.com>
Wed, 19 Feb 2020 09:54:49 +0000 (10:54 +0100)
committerJes Sorensen <jsorensen@fb.com>
Mon, 24 Feb 2020 21:08:15 +0000 (16:08 -0500)
commit3364781b929f571a3dc3a6afed09eb1b03ce607c
tree360634ebe0c0811ece9933d56414f34491464588
parentfd38b8ea80ff8e0317e12d1d70431148ceedd5fd
imsm: pass subarray id to kill_subarray function

After patch b6180160f ("imsm: save current_vol number")
current_vol for imsm is not set and kill_subarray()
cannot determine which volume has to be deleted.
Volume has to be passed as "subarray_id".
The parameter affects only IMSM metadata.

Signed-off-by: Blazej Kucman <blazej.kucman@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Kill.c
mdadm.h
super-ddf.c
super-intel.c