diff options
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 5759f52a1cf9..87b37fe269b6 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -1704,7 +1704,7 @@ static void blocking_cb(struct gfs2_sbd *sdp, struct lm_lockname *name, | |||
1704 | 1704 | ||
1705 | /** | 1705 | /** |
1706 | * gfs2_glock_cb - Callback used by locking module | 1706 | * gfs2_glock_cb - Callback used by locking module |
1707 | * @fsdata: Pointer to the superblock | 1707 | * @sdp: Pointer to the superblock |
1708 | * @type: Type of callback | 1708 | * @type: Type of callback |
1709 | * @data: Type dependent data pointer | 1709 | * @data: Type dependent data pointer |
1710 | * | 1710 | * |
@@ -1713,9 +1713,8 @@ 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 | ||
1716 | void gfs2_glock_cb(lm_fsdata_t *fsdata, unsigned int type, void *data) | 1716 | void gfs2_glock_cb(struct gfs2_sbd *sdp, unsigned int type, void *data) |
1717 | { | 1717 | { |
1718 | struct gfs2_sbd *sdp = (struct gfs2_sbd *)fsdata; | ||
1719 | 1718 | ||
1720 | switch (type) { | 1719 | switch (type) { |
1721 | case LM_CB_NEED_E: | 1720 | case LM_CB_NEED_E: |