diff options
Diffstat (limited to 'fs/ocfs2/stackglue.h')
-rw-r--r-- | fs/ocfs2/stackglue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h index 986d059ed1e0..8ebcfba62c7e 100644 --- a/fs/ocfs2/stackglue.h +++ b/fs/ocfs2/stackglue.h | |||
@@ -37,17 +37,17 @@ | |||
37 | struct ocfs2_locking_protocol { | 37 | struct ocfs2_locking_protocol { |
38 | void (*lp_lock_ast)(void *astarg); | 38 | void (*lp_lock_ast)(void *astarg); |
39 | void (*lp_blocking_ast)(void *astarg, int level); | 39 | void (*lp_blocking_ast)(void *astarg, int level); |
40 | void (*lp_unlock_ast)(void *astarg, enum dlm_status status); | 40 | void (*lp_unlock_ast)(void *astarg, int error); |
41 | }; | 41 | }; |
42 | 42 | ||
43 | enum dlm_status ocfs2_dlm_lock(struct dlm_ctxt *dlm, | 43 | int ocfs2_dlm_lock(struct dlm_ctxt *dlm, |
44 | int mode, | 44 | int mode, |
45 | struct dlm_lockstatus *lksb, | 45 | struct dlm_lockstatus *lksb, |
46 | u32 flags, | 46 | u32 flags, |
47 | void *name, | 47 | void *name, |
48 | unsigned int namelen, | 48 | unsigned int namelen, |
49 | void *astarg); | 49 | void *astarg); |
50 | enum dlm_status ocfs2_dlm_unlock(struct dlm_ctxt *dlm, | 50 | int ocfs2_dlm_unlock(struct dlm_ctxt *dlm, |
51 | struct dlm_lockstatus *lksb, | 51 | struct dlm_lockstatus *lksb, |
52 | u32 flags, | 52 | u32 flags, |
53 | void *astarg); | 53 | void *astarg); |