]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Do not continue container reshape when mdmon is absent
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 7 Nov 2011 00:46:35 +0000 (11:46 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 7 Nov 2011 00:46:35 +0000 (11:46 +1100)
commit4584621ab439f009d7f6a3e61b7cc91c0374065f
tree5966e4d69ea8ed80b78c0cec60a2fdf3a977c9c1
parent88e5516ea914f0e9d433a50dc0b2867085250308
FIX: Do not continue container reshape when mdmon is absent

When mdmon is absent metadata is not updated, and container_reshape()
can fall in to endless loop. This can cause user data corruption.

In case when mdmon is absent do not continue container reshape process.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c