diff options
Diffstat (limited to 'fs/gfs2/lm_interface.h')
-rw-r--r-- | fs/gfs2/lm_interface.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/gfs2/lm_interface.h b/fs/gfs2/lm_interface.h index e2dfc3da4da9..75835e0f4254 100644 --- a/fs/gfs2/lm_interface.h +++ b/fs/gfs2/lm_interface.h | |||
@@ -17,10 +17,9 @@ | |||
17 | 17 | ||
18 | typedef void lm_lockspace_t; | 18 | typedef void lm_lockspace_t; |
19 | typedef void lm_lock_t; | 19 | typedef void lm_lock_t; |
20 | typedef void lm_fsdata_t; | 20 | struct gfs2_sbd; |
21 | 21 | ||
22 | typedef void (*lm_callback_t) (lm_fsdata_t *fsdata, unsigned int type, | 22 | typedef void (*lm_callback_t) (struct gfs2_sbd *sdp, unsigned int type, void *data); |
23 | void *data); | ||
24 | 23 | ||
25 | /* | 24 | /* |
26 | * lm_mount() flags | 25 | * lm_mount() flags |
@@ -183,7 +182,7 @@ struct lm_lockops { | |||
183 | */ | 182 | */ |
184 | 183 | ||
185 | int (*lm_mount) (char *table_name, char *host_data, | 184 | int (*lm_mount) (char *table_name, char *host_data, |
186 | lm_callback_t cb, lm_fsdata_t *fsdata, | 185 | lm_callback_t cb, struct gfs2_sbd *sdp, |
187 | unsigned int min_lvb_size, int flags, | 186 | unsigned int min_lvb_size, int flags, |
188 | struct lm_lockstruct *lockstruct, | 187 | struct lm_lockstruct *lockstruct, |
189 | struct kobject *fskobj); | 188 | struct kobject *fskobj); |
@@ -275,7 +274,7 @@ void gfs2_unregister_lockproto(struct lm_lockops *proto); | |||
275 | */ | 274 | */ |
276 | 275 | ||
277 | int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data, | 276 | int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data, |
278 | lm_callback_t cb, lm_fsdata_t *fsdata, | 277 | lm_callback_t cb, struct gfs2_sbd *sdp, |
279 | unsigned int min_lvb_size, int flags, | 278 | unsigned int min_lvb_size, int flags, |
280 | struct lm_lockstruct *lockstruct, | 279 | struct lm_lockstruct *lockstruct, |
281 | struct kobject *fskobj); | 280 | struct kobject *fskobj); |