diff options
author | Tiger Yang <tiger.yang@oracle.com> | 2007-06-04 10:31:08 +0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-06-06 16:41:08 -0700 |
commit | 59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47 (patch) | |
tree | 61a194a1225a19c0fd72170297106619603d8049 /fs | |
parent | 5ecd3100e695228ac5e0ce0e325e252c0f11806f (diff) | |
download | lwn-59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47.tar.gz lwn-59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47.zip |
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 = { }; 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) |