diff options
author | Tiger Yang <tiger.yang@oracle.com> | 2007-06-03 22:31:08 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-06-06 19:41:08 -0400 |
commit | 59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47 (patch) | |
tree | 61a194a1225a19c0fd72170297106619603d8049 /fs | |
parent | 5ecd3100e695228ac5e0ce0e325e252c0f11806f (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/cluster/masklog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/cluster/masklog.c b/fs/ocfs2/cluster/masklog.c index a93620ce4aca..2b205f5d5790 100644 --- a/fs/ocfs2/cluster/masklog.c +++ b/fs/ocfs2/cluster/masklog.c | |||
@@ -144,8 +144,7 @@ static struct kobj_type mlog_ktype = { | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | static struct kset mlog_kset = { | 146 | static struct kset mlog_kset = { |
147 | .kobj = {.name = "logmask"}, | 147 | .kobj = {.name = "logmask", .ktype = &mlog_ktype}, |
148 | .ktype = &mlog_ktype | ||
149 | }; | 148 | }; |
150 | 149 | ||
151 | int mlog_sys_init(struct kset *o2cb_subsys) | 150 | int mlog_sys_init(struct kset *o2cb_subsys) |