1
0
Files
linux/drivers
Dave Young d17a18dd92 pktcdvd: add kobject_put when kobject register fails
In kobject_register, the kobject reference is get in kobject_init, and then
kobject_add.  If kobject_add fail, it will only cleanup the reference got
by itself.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Greg KH <greg@kroah.com>
Cc: Peter Osterlund <petero2@telia.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-17 19:28:16 -08:00
..
2007-12-03 08:13:17 -08:00
2007-12-04 01:35:32 -05:00
2007-12-12 13:45:25 +01:00
2007-12-07 09:06:53 +00:00
2007-11-14 18:45:39 -08:00
2007-11-29 09:24:53 -08:00
2007-12-10 19:43:54 -08:00
2007-12-17 19:28:15 -08:00
2007-12-10 19:43:55 -08:00
2007-11-14 18:45:36 -08:00
2007-12-04 16:48:06 +00:00