summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-11 06:09:55 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 16:18:07 -0800
commit033b96fd30db52a710d97b06f87d16fc59fee0f1 (patch)
tree00fbccf2cf478307e213f298a221e330f3ba12ae /lib
parent0f76e5acf9dc788e664056dda1e461f0bec93948 (diff)
downloadlwn-033b96fd30db52a710d97b06f87d16fc59fee0f1.tar.gz
lwn-033b96fd30db52a710d97b06f87d16fc59fee0f1.zip
[PATCH] remove mount/umount uevents from superblock handling
The names of these events have been confusing from the beginning on, as they have been more like claim/release events. We needed these events for noticing HAL if storage devices have been mounted. Thanks to Al, we have the proper solution now and can poll() /proc/mounts instead to get notfied about mount tree changes. Signed-off-by: Kay Sievers <kay.sievers@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject_uevent.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 1f90eea7eebc..845bf67d94ca 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -39,10 +39,6 @@ static char *action_to_string(enum kobject_action action)
return "remove";
case KOBJ_CHANGE:
return "change";
- case KOBJ_MOUNT:
- return "mount";
- case KOBJ_UMOUNT:
- return "umount";
case KOBJ_OFFLINE:
return "offline";
case KOBJ_ONLINE: