From: Mark Fasheh Date: Wed, 29 Mar 2006 18:34:21 +0000 (-0800) Subject: ocfs2: catch an invalid ast case in dlmfs X-Git-Tag: v2.6.17-rc2~285^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc6eb725955efb026007e1d7da8fe5383981afd2;p=linux-2.6 ocfs2: catch an invalid ast case in dlmfs Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/dlm/userdlm.c b/fs/ocfs2/dlm/userdlm.c index bac4615965..d0f1027a38 100644 --- a/fs/ocfs2/dlm/userdlm.c +++ b/fs/ocfs2/dlm/userdlm.c @@ -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 <=