aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiger Yang2007-06-04 10:31:08 +0800
committerMark Fasheh2007-06-06 16:41:08 -0700
commit59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47 (patch)
tree61a194a1225a19c0fd72170297106619603d8049
parent5ecd3100e695228ac5e0ce0e325e252c0f11806f (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>
-rw-r--r--fs/ocfs2/cluster/masklog.c3
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)