aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking.c
diff options
context:
space:
mode:
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 fce2001e5e25..31421ee6d863 100644
--- a/fs/gfs2/locking.c
+++ b/fs/gfs2/locking.c
@@ -99,7 +99,7 @@ void gfs2_unregister_lockproto(struct lm_lockops *proto)
99 * @table_name - the name of the lock space 99 * @table_name - the name of the lock space
100 * @host_data - data specific to this host 100 * @host_data - data specific to this host
101 * @cb - the callback to the code using the lock module 101 * @cb - the callback to the code using the lock module
102 * @fsdata - data to pass back with the callback 102 * @sdp - The GFS2 superblock
103 * @min_lvb_size - the mininum LVB size that the caller can deal with 103 * @min_lvb_size - the mininum LVB size that the caller can deal with
104 * @flags - LM_MFLAG_* 104 * @flags - LM_MFLAG_*
105 * @lockstruct - a structure returned describing the mount 105 * @lockstruct - a structure returned describing the mount
@@ -108,7 +108,7 @@ void gfs2_unregister_lockproto(struct lm_lockops *proto)
108 */ 108 */
109 109
110int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data, 110int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data,
111 lm_callback_t cb, lm_fsdata_t *fsdata, 111 lm_callback_t cb, struct gfs2_sbd *sdp,
112 unsigned int min_lvb_size, int flags, 112 unsigned int min_lvb_size, int flags,
113 struct lm_lockstruct *lockstruct, 113 struct lm_lockstruct *lockstruct,
114 struct kobject *fskobj) 114 struct kobject *fskobj)
@@ -147,7 +147,7 @@ retry:
147 goto retry; 147 goto retry;
148 } 148 }
149 149
150 error = lw->lw_ops->lm_mount(table_name, host_data, cb, fsdata, 150 error = lw->lw_ops->lm_mount(table_name, host_data, cb, sdp,
151 min_lvb_size, flags, lockstruct, fskobj); 151 min_lvb_size, flags, lockstruct, fskobj);
152 if (error) 152 if (error)
153 module_put(lw->lw_ops->lm_owner); 153 module_put(lw->lw_ops->lm_owner);