diff options
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/ast.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c index 30c11f3855b3..09b167df790e 100644 --- a/fs/dlm/ast.c +++ b/fs/dlm/ast.c | |||
@@ -89,13 +89,8 @@ static void process_asts(void) | |||
89 | if ((type & AST_COMP) && cast) | 89 | if ((type & AST_COMP) && cast) |
90 | cast(lkb->lkb_astparam); | 90 | cast(lkb->lkb_astparam); |
91 | 91 | ||
92 | /* FIXME: Is it safe to look at lkb_grmode here | ||
93 | without doing a lock_rsb() ? | ||
94 | Look at other checks in v1 to avoid basts. */ | ||
95 | |||
96 | if ((type & AST_BAST) && bast) | 92 | if ((type & AST_BAST) && bast) |
97 | if (!dlm_modes_compat(lkb->lkb_grmode, bmode)) | 93 | bast(lkb->lkb_astparam, bmode); |
98 | bast(lkb->lkb_astparam, bmode); | ||
99 | 94 | ||
100 | /* this removes the reference added by dlm_add_ast | 95 | /* this removes the reference added by dlm_add_ast |
101 | and may result in the lkb being freed */ | 96 | and may result in the lkb being freed */ |