summaryrefslogtreecommitdiffstats
path: root/fs/dlm/requestqueue.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-01-25 00:28:28 -0500
committerDavid Teigland <teigland@redhat.com>2008-02-04 01:21:32 -0600
commit8b0d8e03f847d9c1677b8a193cd124debbc54633 (patch)
treee2b63705b4a4901f827c92f47acff9abd26875b8 /fs/dlm/requestqueue.h
parent8af03e782cae1e0a0f530ddd22301cdd12cf9dc0 (diff)
downloadlinux-8b0d8e03f847d9c1677b8a193cd124debbc54633.tar.gz
linux-8b0d8e03f847d9c1677b8a193cd124debbc54633.tar.bz2
linux-8b0d8e03f847d9c1677b8a193cd124debbc54633.zip
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>
Diffstat (limited to 'fs/dlm/requestqueue.h')
-rw-r--r--fs/dlm/requestqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/requestqueue.h b/fs/dlm/requestqueue.h
index aba34fc05ee4..10ce449b77da 100644
--- a/fs/dlm/requestqueue.h
+++ b/fs/dlm/requestqueue.h
@@ -13,7 +13,7 @@
#ifndef __REQUESTQUEUE_DOT_H__
#define __REQUESTQUEUE_DOT_H__
-void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd);
+void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms);
int dlm_process_requestqueue(struct dlm_ls *ls);
void dlm_wait_requestqueue(struct dlm_ls *ls);
void dlm_purge_requestqueue(struct dlm_ls *ls);