]> Git Repo - linux.git/commit
Driver core: fix class glue dir cleanup logic
authorKay Sievers <[email protected]>
Wed, 21 Nov 2007 16:29:15 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <[email protected]>
Fri, 25 Jan 2008 04:40:36 +0000 (20:40 -0800)
commitda231fd5d113ab6da5dab7a2d2c38d0a540f939c
treefbaa6dfe56d544af0edc3e01633006515c2e582d
parentef2c51746dc89c2326ce522f8fb8a57695780e75
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 <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/base/core.c
This page took 0.052452 seconds and 4 git commands to generate.