]> git.baikalelectronics.ru Git - kernel.git/commit
Driver core: fix error by cleanup up symlinks properly
authorJames Simmons <jsimmons@infradead.org>
Wed, 21 Feb 2007 17:44:51 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 22:52:09 +0000 (14:52 -0800)
commit2f02985188a87a0919ab83db42ae1c85eb6265c9
tree3052eb95a5e6070cbee8a1262952abc48f2eedbe
parentd821ed7f40c82af296b38ae5e064fd0ec2d29011
Driver core: fix error by cleanup up symlinks properly

When a device fails to register the class symlinks where not cleaned up.
This left a symlink in the /sys/class/"device"/ directory that pointed
to no where. This caused the sysfs_follow_link Oops I reported earlier.
This patch cleanups up the symlink. Please apply. Thank you.

Signed-Off: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c