aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-04-27 11:25:45 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-27 11:25:45 -0400
commite7f5c01caddbad150dcf003f76cd5aac413f4c50 (patch)
treea37538fc8c067fb169110ccba9788302cdace1d2 /fs/gfs2/locking
parent6bd70aba5ab453459bb53b1e29f0e0650d6c311f (diff)
[GFS2] Remove redundant casts to/from void
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking')
-rw-r--r--fs/gfs2/locking/dlm/lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/locking/dlm/lock.c b/fs/gfs2/locking/dlm/lock.c
index 1799d2237e7e..a309b799dff1 100644
--- a/fs/gfs2/locking/dlm/lock.c
+++ b/fs/gfs2/locking/dlm/lock.c
@@ -25,7 +25,7 @@ static void queue_complete(struct gdlm_lock *lp)
25 25
26static inline void gdlm_ast(void *astarg) 26static inline void gdlm_ast(void *astarg)
27{ 27{
28 queue_complete((struct gdlm_lock *) astarg); 28 queue_complete(astarg);
29} 29}
30 30
31static inline void gdlm_bast(void *astarg, int mode) 31static inline void gdlm_bast(void *astarg, int mode)
@@ -257,7 +257,7 @@ unsigned int gdlm_do_lock(struct gdlm_lock *lp)
257 lp->cur, lp->req, lp->lkf); 257 lp->cur, lp->req, lp->lkf);
258 258
259 error = dlm_lock(ls->dlm_lockspace, lp->req, &lp->lksb, lp->lkf, 259 error = dlm_lock(ls->dlm_lockspace, lp->req, &lp->lksb, lp->lkf,
260 str.name, str.namelen, 0, gdlm_ast, (void *) lp, 260 str.name, str.namelen, 0, gdlm_ast, lp,
261 bast ? gdlm_bast : NULL); 261 bast ? gdlm_bast : NULL);
262 262
263 if ((error == -EAGAIN) && (lp->lkf & DLM_LKF_NOQUEUE)) { 263 if ((error == -EAGAIN) && (lp->lkf & DLM_LKF_NOQUEUE)) {