Commit 59be7dc9 authored by Tiger Yang's avatar Tiger Yang Committed by Mark Fasheh

ocfs2: Fix masklog breakage

Some of the sysfs changes inadvertantly broke the simple runtime debug log
filtering employed in ocfs2. Fix this by properly exporting the masklog
category filter names.
Signed-off-by: default avatarTiger Yang <tiger.yang@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 5ecd3100
...@@ -144,8 +144,7 @@ static struct kobj_type mlog_ktype = { ...@@ -144,8 +144,7 @@ static struct kobj_type mlog_ktype = {
}; };
static struct kset mlog_kset = { static struct kset mlog_kset = {
.kobj = {.name = "logmask"}, .kobj = {.name = "logmask", .ktype = &mlog_ktype},
.ktype = &mlog_ktype
}; };
int mlog_sys_init(struct kset *o2cb_subsys) int mlog_sys_init(struct kset *o2cb_subsys)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment