]> Pileus Git - ~andy/linux/commit
drbd: Replace and remove old primitives
authorAndreas Gruenbacher <agruen@linbit.com>
Mon, 28 Mar 2011 12:23:08 +0000 (14:23 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:45:08 +0000 (16:45 +0100)
commit9f5bdc339e3becd85aa8add305d794b0b1ec8996
treea52dcd2faa3fa88d9d5caf65003c1b2ae56f52d9
parent52b061a44021ca11ee2fd238040e91341ff8066d
drbd: Replace and remove old primitives

Centralize sock->mutex locking and unlocking in [drbd|conn]_prepare_command()
and [drbd|conn]_send_comman().

Therefore all *_send_* functions are touched to use these primitives instead
of drbd_get_data_sock()/drbd_put_data_sock() and former helper functions.

That change makes the *_send_* functions more standardized.

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_main.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c