ocfs2: Change mlog_bug_on to BUG_ON in ocfs2_lockid.h
authorJoel Becker <joel.becker@oracle.com>
Wed, 5 Mar 2008 00:09:39 +0000 (16:09 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:07 +0000 (08:56 -0700)
commit8f318311faf57481452895448e6ffaec7c38a146
treeaf367ab2dc2b155ebf8c642d17b5cead1fe637d7
parentcf4d8d75d8aba537a19b313a9364fd08ddbd5622
ocfs2: Change mlog_bug_on to BUG_ON in ocfs2_lockid.h

The masklog code is in the o2cb stack, but ocfs2_lockid.h now needs to
be included by the user stack.  The BUG() in ocfs2_lock_type_string()
does not need masklog support, so change it to a regular BUG_ON().

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/ocfs2_lockid.h