diff options
Diffstat (limited to 'fs/gfs2/lm.h')
-rw-r--r-- | fs/gfs2/lm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/gfs2/lm.h b/fs/gfs2/lm.h index 6b890e73e6c1..21cdc30ee08c 100644 --- a/fs/gfs2/lm.h +++ b/fs/gfs2/lm.h | |||
@@ -20,16 +20,16 @@ void gfs2_lm_unmount(struct gfs2_sbd *sdp); | |||
20 | int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) | 20 | int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) |
21 | __attribute__ ((format(printf, 2, 3))); | 21 | __attribute__ ((format(printf, 2, 3))); |
22 | int gfs2_lm_get_lock(struct gfs2_sbd *sdp, struct lm_lockname *name, | 22 | int gfs2_lm_get_lock(struct gfs2_sbd *sdp, struct lm_lockname *name, |
23 | lm_lock_t **lockp); | 23 | void **lockp); |
24 | void gfs2_lm_put_lock(struct gfs2_sbd *sdp, lm_lock_t *lock); | 24 | void gfs2_lm_put_lock(struct gfs2_sbd *sdp, void *lock); |
25 | unsigned int gfs2_lm_lock(struct gfs2_sbd *sdp, lm_lock_t *lock, | 25 | unsigned int gfs2_lm_lock(struct gfs2_sbd *sdp, void *lock, |
26 | unsigned int cur_state, unsigned int req_state, | 26 | unsigned int cur_state, unsigned int req_state, |
27 | unsigned int flags); | 27 | unsigned int flags); |
28 | unsigned int gfs2_lm_unlock(struct gfs2_sbd *sdp, lm_lock_t *lock, | 28 | unsigned int gfs2_lm_unlock(struct gfs2_sbd *sdp, void *lock, |
29 | unsigned int cur_state); | 29 | unsigned int cur_state); |
30 | void gfs2_lm_cancel(struct gfs2_sbd *sdp, lm_lock_t *lock); | 30 | void gfs2_lm_cancel(struct gfs2_sbd *sdp, void *lock); |
31 | int gfs2_lm_hold_lvb(struct gfs2_sbd *sdp, lm_lock_t *lock, char **lvbp); | 31 | int gfs2_lm_hold_lvb(struct gfs2_sbd *sdp, void *lock, char **lvbp); |
32 | void gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, lm_lock_t *lock, char *lvb); | 32 | void gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, void *lock, char *lvb); |
33 | int gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, | 33 | int gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, |
34 | struct file *file, struct file_lock *fl); | 34 | struct file *file, struct file_lock *fl); |
35 | int gfs2_lm_plock(struct gfs2_sbd *sdp, struct lm_lockname *name, | 35 | int gfs2_lm_plock(struct gfs2_sbd *sdp, struct lm_lockname *name, |