drbd: mutex_unlock "... must no be used in interrupt context"
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 22 Aug 2012 14:15:26 +0000 (16:15 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 9 Nov 2012 13:08:21 +0000 (14:08 +0100)
commitc02abda2b28734a7e97e15db866507b3cb92b7d0
treec85af57b2f3e9689d4374895c125da37d7ae7fad
parentc1fd29a11f433ca8ae37723768016ffe6cdd487b
drbd: mutex_unlock "... must no be used in interrupt context"

Documentation of mutex_unlock says
we must not use it in interrupt context.
So do not call it while holding the spin_lock_irq,
but give up the spinlock temporarily.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_state.c