]> err.no Git - linux-2.6/commit
block: drop references taken by class_find_device()
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 16 Aug 2008 12:30:30 +0000 (14:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:15:38 +0000 (10:15 -0700)
commit5c0ef6d0214a08e5c846f4c45228adf135d8d0ef
treef4c5d5991365e19780e3638eb2128c8ebd771e99
parent068281d302def5efd96d84a163ba17e85f5ea564
block: drop references taken by class_find_device()

Otherwise we leak references, which is not a good thing to do.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/genhd.c