diff options
author | David Teigland <teigland@redhat.com> | 2008-02-06 23:27:04 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-06 23:27:04 -0600 |
commit | d292c0cc489fa642799494bddbd7c94d11f7bbc1 (patch) | |
tree | 5999df751f987dc59ff052ed07fc7715c00898cc /fs/dlm/memory.c | |
parent | e5dae548b0b5397e070de793be925cfc5813ad95 (diff) |
dlm: eliminate astparam type casting
Put lkb_astparam in a union with a dlm_user_args pointer to
eliminate a lot of type casting.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/memory.c')
-rw-r--r-- | fs/dlm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/memory.c b/fs/dlm/memory.c index f7783867491..65e41e5569b 100644 --- a/fs/dlm/memory.c +++ b/fs/dlm/memory.c @@ -80,7 +80,7 @@ void dlm_free_lkb(struct dlm_lkb *lkb) { if (lkb->lkb_flags & DLM_IFL_USER) { struct dlm_user_args *ua; - ua = (struct dlm_user_args *)lkb->lkb_astparam; + ua = lkb->lkb_ua; if (ua) { if (ua->lksb.sb_lvbptr) kfree(ua->lksb.sb_lvbptr); |