]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix/support --update
authorDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:53 +0000 (17:41 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:53 +0000 (17:41 -0700)
commite683ca88ac4c2f55059e8c82aff7a487a0884ef7
tree3da5d1f903a32e7faaf7a6a17780d517d4e8169f
parentf796af5d5ea603085ce6bcf3c171b89a1f84f37a
imsm: fix/support --update

Fix init_super_imsm() to return an empty mpb when info == NULL, and
teach store_super_imsm() to simply write out the passed in mpb.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=523320
Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c