diff options
author | David Teigland <teigland@redhat.com> | 2006-08-23 16:07:31 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-23 16:07:31 -0400 |
commit | 32f105a123804c7882d447f013aeb3530b4d63c0 (patch) | |
tree | 8e8006aa63fc31290d3cd1bc5e93b9cd3f9580d7 /fs/dlm/ast.c | |
parent | c059f70e357af1adcfc1a9294e44cdd945adb841 (diff) |
[DLM] down conversion clearing flags
The down-conversion optimization was resulting in the lkb flags being
cleared because the stub message reply had no flags value set. Copy the
current flags into the stub message so they'll be copied back into the lkb
as part of processing the fake reply. Also add an assertion to catch this
error more directly if it exists elsewhere.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/ast.c')
-rw-r--r-- | fs/dlm/ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c index a211330cbc42..f91d39cb1e0b 100644 --- a/fs/dlm/ast.c +++ b/fs/dlm/ast.c | |||
@@ -38,6 +38,7 @@ void dlm_add_ast(struct dlm_lkb *lkb, int type) | |||
38 | dlm_user_add_ast(lkb, type); | 38 | dlm_user_add_ast(lkb, type); |
39 | return; | 39 | return; |
40 | } | 40 | } |
41 | DLM_ASSERT(lkb->lkb_astaddr != DLM_FAKE_USER_AST, dlm_print_lkb(lkb);); | ||
41 | 42 | ||
42 | spin_lock(&ast_queue_lock); | 43 | spin_lock(&ast_queue_lock); |
43 | if (!(lkb->lkb_ast_type & (AST_COMP | AST_BAST))) { | 44 | if (!(lkb->lkb_ast_type & (AST_COMP | AST_BAST))) { |