diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-08 10:17:58 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-08 10:17:58 -0400 |
commit | 9b47c11d1cbedcba685c9bd90c73fd41acdfab0e (patch) | |
tree | 799f05877bd8973262da54852b7b8bf9a9916998 /fs/gfs2/glock.c | |
parent | a2c4580797f62b0dd9a48f1e0ce3fe8b8fd76262 (diff) |
[GFS2] Use void * instead of typedef for locking module interface
As requested by Jan Engelhardt, this removes the typedefs in the
locking module interface and replaces them with void *. Also
since we are changing the interface, I've added a few consts
as well.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 87b37fe269b..92aa0e8c909 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 | ||
1716 | void gfs2_glock_cb(struct gfs2_sbd *sdp, unsigned int type, void *data) | 1716 | void 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: |