summaryrefslogtreecommitdiff
path: root/hald/linux/linux_osspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hald/linux/linux_osspec.c')
-rw-r--r--hald/linux/linux_osspec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hald/linux/linux_osspec.c b/hald/linux/linux_osspec.c
index 82873fc0..f2b47b48 100644
--- a/hald/linux/linux_osspec.c
+++ b/hald/linux/linux_osspec.c
@@ -504,6 +504,9 @@ static DBusHandlerResult handle_hotplug(DBusConnection* connection,
}
else
{
+ if( strcmp(subsystem, "block")==0 )
+ linux_class_block_removed(d);
+
HAL_INFO(("Removing classdevice @ sysfspath %s, udi %s",
sysfs_devpath, d->udi));
ds_device_destroy(d);