]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
IMSM: Do not update metadata if not able to migrate
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Thu, 22 Dec 2016 12:10:47 +0000 (13:10 +0100)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 22 Dec 2016 17:20:13 +0000 (12:20 -0500)
commit1e9b2c3fb780c033f960736a982997e14fcd6222
tree4e1bba35cb4a5b8e8d9bd3836e37e1068076e0ee
parentc07566f14c89f42b5908bd36d1857d327d1bcc41
IMSM: Do not update metadata if not able to migrate

This patch prevents mdadm from updating metadata if migration is
not possible. The same check is done in analyse_change(),
but in that place - metadata is already modified.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super-intel.c