Skip to content

Commit

Permalink
ocfs2: Fix masklog breakage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tiger Yang authored and Mark Fasheh committed Jun 6, 2007
1 parent 5ecd310 commit 59be7dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ocfs2/cluster/masklog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 59be7dc

Please sign in to comment.