diff options
author | David Teigland <teigland@redhat.com> | 2008-02-06 01:35:45 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-06 01:35:45 -0500 |
commit | e5dae548b0b5397e070de793be925cfc5813ad95 (patch) | |
tree | 5ad4c94cbeab745fc1bac3426423c405971c6796 /fs/dlm/rcom.c | |
parent | cb79f1998d89821a4dbac47f59a46ee3fbbf3c61 (diff) |
dlm: proper types for asts and basts
Use proper types for ast and bast functions, and use
consistent type for ast param.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/rcom.c')
-rw-r--r-- | fs/dlm/rcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c index ef9d0f918492..035e6f9990b0 100644 --- a/fs/dlm/rcom.c +++ b/fs/dlm/rcom.c | |||
@@ -318,9 +318,9 @@ static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, | |||
318 | rl->rl_status = lkb->lkb_status; | 318 | rl->rl_status = lkb->lkb_status; |
319 | rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); | 319 | rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); |
320 | 320 | ||
321 | if (lkb->lkb_bastaddr) | 321 | if (lkb->lkb_bastfn) |
322 | rl->rl_asts |= AST_BAST; | 322 | rl->rl_asts |= AST_BAST; |
323 | if (lkb->lkb_astaddr) | 323 | if (lkb->lkb_astfn) |
324 | rl->rl_asts |= AST_COMP; | 324 | rl->rl_asts |= AST_COMP; |
325 | 325 | ||
326 | rl->rl_namelen = cpu_to_le16(r->res_length); | 326 | rl->rl_namelen = cpu_to_le16(r->res_length); |