drbd: Removed drbd_state_lock() and drbd_state_unlock()
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 11 Feb 2011 18:43:55 +0000 (19:43 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:45:01 +0000 (16:45 +0200)
commitdad20554812e73a2bfbe45d1b161d5d3c249e597
treecd2e1d689a8366f0f460c63f6c37fc4797ab1820
parentbbeb641c3e4982d6bba21188545a7fd44ab0a715
drbd: Removed drbd_state_lock() and drbd_state_unlock()

The lock they constructed is only taken when the state_mutex
was already taken. It is superficial.

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