aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 87b37fe269b6..92aa0e8c9099 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1713,8 +1713,9 @@ static void blocking_cb(struct gfs2_sbd *sdp, struct lm_lockname *name,
1713 * a journal from another client needs to be recovered. 1713 * a journal from another client needs to be recovered.
1714 */ 1714 */
1715 1715
1716void gfs2_glock_cb(struct gfs2_sbd *sdp, unsigned int type, void *data) 1716void gfs2_glock_cb(void *cb_data, unsigned int type, void *data)
1717{ 1717{
1718 struct gfs2_sbd *sdp = cb_data;
1718 1719
1719 switch (type) { 1720 switch (type) {
1720 case LM_CB_NEED_E: 1721 case LM_CB_NEED_E: