aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-11-21 17:29:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:36 -0800
commitda231fd5d113ab6da5dab7a2d2c38d0a540f939c (patch)
treefbaa6dfe56d544af0edc3e01633006515c2e582d /kernel/module.c
parentDriver core: fix race in __device_release_driver (diff)
downloadlinux-dev-da231fd5d113ab6da5dab7a2d2c38d0a540f939c.tar.xz
linux-dev-da231fd5d113ab6da5dab7a2d2c38d0a540f939c.zip
Driver core: fix class glue dir cleanup logic
We should remove the glue directory between the class and the bus device _after_ we sent out the 'remove' event for the device, otherwise the parent relationship is no longer valid, and composing the path with deleted sysfs entries will not work. Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions