ocfs2: catch an invalid ast case in dlmfs
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 29 Mar 2006 18:34:21 +0000 (10:34 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Sat, 8 Apr 2006 00:36:16 +0000 (17:36 -0700)
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/userdlm.c

index bac4615..d0f1027 100644 (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 <=