diff options
author | David Teigland <teigland@redhat.com> | 2008-02-07 06:27:04 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-07 06:27:04 +0100 |
commit | d292c0cc489fa642799494bddbd7c94d11f7bbc1 (patch) | |
tree | 5999df751f987dc59ff052ed07fc7715c00898cc /fs/dlm/memory.c | |
parent | dlm: proper types for asts and basts (diff) | |
download | linux-d292c0cc489fa642799494bddbd7c94d11f7bbc1.tar.xz linux-d292c0cc489fa642799494bddbd7c94d11f7bbc1.zip |
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 f7783867491a..65e41e5569b0 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); |