diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-11-07 02:58:26 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-11-07 02:58:26 -0800 |
| commit | 59ccfc460a322aa9522a259572258a5fffbd4bcc (patch) | |
| tree | d0077e793d0b6b09f98be3f94bf9bb34dcd8f986 /kernel/timer.c | |
| parent | 6077b1d358b09e4fb02ac9d5a3bed4884f7afe86 (diff) | |
[PATCH] fix reference count bug with class devices
When a kobject is associated with a kset, the kset MUST be set before
the kobject is initialized (by either a call to kobject_register() or
kobject_init()). This patch fixes the class code which improperly set
the kset after the kobject was initialized, which would cause improper
reference counts on the kset.
Thanks to Mike Anderson for locating the source of this bug.
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions
