summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2007-06-04 04:31:08 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2007-06-07 01:41:08 +0200
commit59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47 (patch)
tree61a194a1225a19c0fd72170297106619603d8049 /fs/ocfs2/cluster
parentLinux 2.6.22-rc4 (diff)
downloadlinux-59be7dc97bacc0fd8e22f0be6e2aebb5c9b4ff47.tar.xz
linux-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/ocfs2/cluster')
-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)