ocfs2: Fix masklog breakage
authorTiger Yang <tiger.yang@oracle.com>
Mon, 4 Jun 2007 02:31:08 +0000 (10:31 +0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 6 Jun 2007 23:41:08 +0000 (16:41 -0700)
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: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/masklog.c

index a93620ce4aca80e7444ca01cffd24ee45b16b359..2b205f5d5790e73d281f6fbf7e298d2f7dc3b782 100644 (file)
@@ -144,8 +144,7 @@ static struct kobj_type mlog_ktype = {
 };
 
 static struct kset mlog_kset = {
-       .kobj  = {.name = "logmask"},
-       .ktype = &mlog_ktype
+       .kobj   = {.name = "logmask", .ktype = &mlog_ktype},
 };
 
 int mlog_sys_init(struct kset *o2cb_subsys)