projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Change mlog_bug_on to BUG_ON in ocfs2_lockid.h
[linux-2.6-microblaze.git]
/
fs
/
ocfs2
/
ocfs2_lockid.h
diff --git
a/fs/ocfs2/ocfs2_lockid.h
b/fs/ocfs2/ocfs2_lockid.h
index
86f3e37
..
82c200f
100644
(file)
--- a/
fs/ocfs2/ocfs2_lockid.h
+++ b/
fs/ocfs2/ocfs2_lockid.h
@@
-100,7
+100,7
@@
static char *ocfs2_lock_type_strings[] = {
static inline const char *ocfs2_lock_type_string(enum ocfs2_lock_type type)
{
#ifdef __KERNEL__
-
mlog_bug_on_msg(type >= OCFS2_NUM_LOCK_TYPES, "%d\n", type
);
+
BUG_ON(type >= OCFS2_NUM_LOCK_TYPES
);
#endif
return ocfs2_lock_type_strings[type];
}