summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDave Peterson <dsp@llnl.gov>2006-03-26 13:38:48 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 20:57:07 +0400
commit6e5a8748507dea83386d1d76c58aeaed1ff5a1ec (patch)
tree90ce1bc0ed71a608f9af4c3db655a35d03173aac /mm
parent028a7b6d3d9fa2cc41d76d45575345cca8d00a4c (diff)
downloadlinux-6e5a8748507dea83386d1d76c58aeaed1ff5a1ec.tar.xz
[PATCH] EDAC: kobject_init/kobject_put fixes
- Remove calls to kobject_init(). These are unnecessary because kobject_register() calls kobject_init(). - Remove extra calls to kobject_put(). When we call kobject_unregister(), this releases our reference to the kobject. The extra calls to kobject_put() may cause the reference count to drop to 0 while a kobject is still in use. Signed-off-by: David S. Peterson <dsp@llnl.gov> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions