dlm: use proper C for dlm/requestqueue stuff (and fix alignment bug)
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Jan 2008 05:28:28 +0000 (00:28 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 4 Feb 2008 07:21:32 +0000 (01:21 -0600)
commit8b0d8e03f847d9c1677b8a193cd124debbc54633
treee2b63705b4a4901f827c92f47acff9abd26875b8
parent8af03e782cae1e0a0f530ddd22301cdd12cf9dc0
dlm: use proper C for dlm/requestqueue stuff (and fix alignment bug)

a) don't cast the pointer to dlm_header *, we use it as dlm_message *
   anyway.
b) we copy the message into a queue element, then pass the pointer to
   copy to dlm_receive_message_saved(); declare it properly to make sure
   that we have the right alignment.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c
fs/dlm/requestqueue.c
fs/dlm/requestqueue.h