summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-07 15:50:20 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-07 15:50:20 -0400
commit1c089c325d5cda0f64a3cf8edf3aaafa148f200a (patch)
treef59c862b0d84ffc06d7c208607fc26bd6f8da4b5 /fs/gfs2/locking.c
parentb9201ce9a826f5ae4a8e153b52cf5d29f525ca11 (diff)
downloadop-kernel-dev-1c089c325d5cda0f64a3cf8edf3aaafa148f200a.zip
op-kernel-dev-1c089c325d5cda0f64a3cf8edf3aaafa148f200a.tar.gz
[GFS2] Remove one typedef
This removes one of the typedefs from the locking interface. It is replaced by a forward declaration of the gfs2 superblock. The other two are not so easy to solve since in their case, they can refer to one of two possible structures. Cc: David Teigland <teigland@redhat.com> Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking.c')
-rw-r--r--fs/gfs2/locking.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/locking.c b/fs/gfs2/locking.c
index fce2001..31421ee 100644
--- a/fs/gfs2/locking.c
+++ b/fs/gfs2/locking.c
@@ -99,7 +99,7 @@ void gfs2_unregister_lockproto(struct lm_lockops *proto)
* @table_name - the name of the lock space
* @host_data - data specific to this host
* @cb - the callback to the code using the lock module
- * @fsdata - data to pass back with the callback
+ * @sdp - The GFS2 superblock
* @min_lvb_size - the mininum LVB size that the caller can deal with
* @flags - LM_MFLAG_*
* @lockstruct - a structure returned describing the mount
@@ -108,7 +108,7 @@ void gfs2_unregister_lockproto(struct lm_lockops *proto)
*/
int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data,
- lm_callback_t cb, lm_fsdata_t *fsdata,
+ lm_callback_t cb, struct gfs2_sbd *sdp,
unsigned int min_lvb_size, int flags,
struct lm_lockstruct *lockstruct,
struct kobject *fskobj)
@@ -147,7 +147,7 @@ retry:
goto retry;
}
- error = lw->lw_ops->lm_mount(table_name, host_data, cb, fsdata,
+ error = lw->lw_ops->lm_mount(table_name, host_data, cb, sdp,
min_lvb_size, flags, lockstruct, fskobj);
if (error)
module_put(lw->lw_ops->lm_owner);
OpenPOWER on IntegriCloud