Greg Kroah-Hartman cfb36fff45 kobject: grab the kset reference in kobject_add, not kobject_init
kobject_init should not be grabing any references, but only initializing
the object.  This patch fixes this, and makes the lock hold-time shorter
for when a kset is present in the kobject.

The current kernel tree has been audited to verify that this change
should be safe.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-01-24 20:40:25 -08:00
..
2007-07-31 15:39:37 -07:00
2007-05-11 05:38:25 -04:00
2007-07-16 09:05:50 -07:00
2007-07-17 10:23:04 -07:00
2006-06-25 10:01:20 -07:00
2007-10-18 14:37:32 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2007-04-25 22:28:53 -07:00
2007-07-24 12:24:59 -07:00
2007-10-19 11:53:41 -07:00
2006-06-20 20:24:58 -07:00
2006-10-06 08:53:40 -07:00
2007-08-22 19:52:45 -07:00
2007-10-20 01:29:18 +02:00
2008-01-24 20:40:05 -08:00
2007-10-19 11:53:41 -07:00
2006-12-04 02:00:22 -05:00
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:58 +02:00