]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit323ee04818e83f3c26cc400022852b10d82b9f82
treee530eecfcf85846c26d824176cd65a60ee093b8d
parent49d47f78f9a7c84bd7c2091c1b04e09fcb110048
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