diff options
author | James Simmons | 2007-02-21 18:44:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-02-23 23:52:09 +0100 |
commit | 82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4 (patch) | |
tree | 3052eb95a5e6070cbee8a1262952abc48f2eedbe /kernel/module.c | |
parent | make kernel/kmod.c:kmod_mk static (diff) | |
download | kernel-qcow2-linux-82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4.tar.gz kernel-qcow2-linux-82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4.tar.xz kernel-qcow2-linux-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