diff options
author | James Simmons <jsimmons@infradead.org> | 2007-02-21 17:44:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 14:52:09 -0800 |
commit | 82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4 (patch) | |
tree | 3052eb95a5e6070cbee8a1262952abc48f2eedbe /kernel/module.c | |
parent | 4541ac94d0ea0b00776edd5904ac91dd6d6330f7 (diff) | |
download | lwn-82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4.tar.gz lwn-82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4.zip |
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>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions