kset: convert ocfs2 to use kset_create
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 23:19:59 +0000 (16:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:23 +0000 (20:40 -0800)
commitc60b71787982cefcf9fa09aa281fa8c4c685d557
treed8fb3b9767d44ead9e90c076c854baaf15b0c1f7
parentf62ed9e33b3ccff54d66b08f82d11940bb9e269b
kset: convert ocfs2 to use kset_create

Dynamically create the kset instead of declaring it statically.

Also use the new kobj_attribute which cleans up this file a _lot_.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ocfs2/cluster/masklog.c
fs/ocfs2/cluster/sys.c