diff options
Diffstat (limited to 'fs/ocfs2/stackglue.h')
-rw-r--r-- | fs/ocfs2/stackglue.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h index 8ebcfba62c7e..3c91e241892b 100644 --- a/fs/ocfs2/stackglue.h +++ b/fs/ocfs2/stackglue.h | |||
@@ -40,18 +40,25 @@ struct ocfs2_locking_protocol { | |||
40 | void (*lp_unlock_ast)(void *astarg, int error); | 40 | void (*lp_unlock_ast)(void *astarg, int error); |
41 | }; | 41 | }; |
42 | 42 | ||
43 | union ocfs2_dlm_lksb { | ||
44 | struct dlm_lockstatus lksb_o2dlm; | ||
45 | }; | ||
46 | |||
43 | int ocfs2_dlm_lock(struct dlm_ctxt *dlm, | 47 | int ocfs2_dlm_lock(struct dlm_ctxt *dlm, |
44 | int mode, | 48 | int mode, |
45 | struct dlm_lockstatus *lksb, | 49 | union ocfs2_dlm_lksb *lksb, |
46 | u32 flags, | 50 | u32 flags, |
47 | void *name, | 51 | void *name, |
48 | unsigned int namelen, | 52 | unsigned int namelen, |
49 | void *astarg); | 53 | void *astarg); |
50 | int ocfs2_dlm_unlock(struct dlm_ctxt *dlm, | 54 | int ocfs2_dlm_unlock(struct dlm_ctxt *dlm, |
51 | struct dlm_lockstatus *lksb, | 55 | union ocfs2_dlm_lksb *lksb, |
52 | u32 flags, | 56 | u32 flags, |
53 | void *astarg); | 57 | void *astarg); |
54 | 58 | ||
59 | int ocfs2_dlm_lock_status(union ocfs2_dlm_lksb *lksb); | ||
60 | void *ocfs2_dlm_lvb(union ocfs2_dlm_lksb *lksb); | ||
61 | |||
55 | void o2cb_get_stack(struct ocfs2_locking_protocol *proto); | 62 | void o2cb_get_stack(struct ocfs2_locking_protocol *proto); |
56 | void o2cb_put_stack(void); | 63 | void o2cb_put_stack(void); |
57 | 64 | ||