aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-11 00:09:55 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 19:18:07 -0500
commit033b96fd30db52a710d97b06f87d16fc59fee0f1 (patch)
tree00fbccf2cf478307e213f298a221e330f3ba12ae /lib
parent0f76e5acf9dc788e664056dda1e461f0bec93948 (diff)
[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)
39 return "remove"; 39 return "remove";
40 case KOBJ_CHANGE: 40 case KOBJ_CHANGE:
41 return "change"; 41 return "change";
42 case KOBJ_MOUNT:
43 return "mount";
44 case KOBJ_UMOUNT:
45 return "umount";
46 case KOBJ_OFFLINE: 42 case KOBJ_OFFLINE:
47 return "offline"; 43 return "offline";
48 case KOBJ_ONLINE: 44 case KOBJ_ONLINE: