commit | 9f5bdc339e3becd85aa8add305d794b0b1ec8996 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruen@linbit.com> | Mon Mar 28 14:23:08 2011 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Nov 08 16:45:08 2012 +0100 |
tree | a52dcd2faa3fa88d9d5caf65003c1b2ae56f52d9 | |
parent | 52b061a44021ca11ee2fd238040e91341ff8066d [diff] |
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>