]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: save current_vol number
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Fri, 4 Oct 2019 10:07:28 +0000 (12:07 +0200)
committerJes Sorensen <jsorensen@fb.com>
Fri, 4 Oct 2019 15:00:40 +0000 (11:00 -0400)
commitb6180160f78f0182b296bdceed6419b26a6fccc7
treeb75d211f5b95765d1439ce2efa50d150f16146e3
parent7bd59e7926c6921121087eb067befaa896c900a4
imsm: save current_vol number

The imsm container_content routine will set curr_volume index in super
for getting volume information. This flag has never been restored to
original value, later other function may rely on it.

Restore this flag to original value.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c