[DLM] Make sock_sem into a mutex
authorPatrick Caulfield <pcaulfie@redhat.com>
Wed, 24 Jan 2007 11:17:59 +0000 (11:17 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:44 +0000 (13:37 -0500)
commitf1f1c1ccf7848a6e25db30ee9216e1a1e7eb6bef
tree38b5f6ba90143ceea49c62fb824a7b46b1f03636
parentd043e1900c97f7282b71844c8530279913b6ec5a
[DLM] Make sock_sem into a mutex

Now that there can be multiple dlm_recv threads running we need to prevent two
recvs running for the same connection - it's unlikely but it can happen and it
causes message corruption.

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lowcomms-tcp.c