Kobject: change GFS2 to use kobject_init_and_add
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Dec 2007 19:54:39 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:26 +0000 (20:40 -0800)
commit901195ed7f4b2f30dc5a36271887939c5d7bfb9f
tree1d56af3b3484ba97a98e3649247da25ac289ec7b
parent43b98c4a66760d18d4056beed4078a8dbad193cc
Kobject: change GFS2 to use kobject_init_and_add

Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/dlm/lockspace.c
fs/gfs2/locking/dlm/sysfs.c
fs/gfs2/sys.c