瀏覽代碼

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: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Tiger Yang 18 年之前
父節點
當前提交
59be7dc97b
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      fs/ocfs2/cluster/masklog.c

+ 1 - 2
fs/ocfs2/cluster/masklog.c

@@ -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)