From: Andreas Gruenbacher Date: Mon, 28 Mar 2011 12:23:08 +0000 (+0200) Subject: drbd: Replace and remove old primitives X-Git-Tag: v3.8-rc1~78^2~18^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f5bdc339e3becd85aa8add305d794b0b1ec8996;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed