md: fix some places where mddev_lock return value is not checked.
authorNeilBrown <neilb@suse.de>
Thu, 14 Nov 2013 06:54:51 +0000 (17:54 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 19 Nov 2013 04:19:17 +0000 (15:19 +1100)
commit29f097c4d968021ee4fad1b033be5825ff78330e
treee530eecfcf85846c26d824176cd65a60ee093b8d
parentedfa1f651e93261eecb034d02284ece103dd691a
md: fix some places where mddev_lock return value is not checked.

Sometimes we need to lock and mddev and cannot cope with
failure due to interrupt.
In these cases we should use mutex_lock, not mutex_lock_interruptible.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c