ocfs2: catch an invalid ast case in dlmfs

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
Mark Fasheh 2006-03-29 10:34:21 -08:00
parent 1f7bc828e3
commit cc6eb72595

View File

@ -139,6 +139,10 @@ static void user_ast(void *opaque)
return;
}
mlog_bug_on_msg(lockres->l_requested == LKM_IVMODE,
"Lockres %s, requested ivmode. flags 0x%x\n",
lockres->l_name, lockres->l_flags);
/* we're downconverting. */
if (lockres->l_requested < lockres->l_level) {
if (lockres->l_requested <=