diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-11 00:09:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 19:18:07 -0500 |
commit | 033b96fd30db52a710d97b06f87d16fc59fee0f1 (patch) | |
tree | 00fbccf2cf478307e213f298a221e330f3ba12ae /include | |
parent | 0f76e5acf9dc788e664056dda1e461f0bec93948 (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 'include')
-rw-r--r-- | include/linux/kobject.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index baf5251d9f63..e6926b327538 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -42,10 +42,8 @@ enum kobject_action { | |||
42 | KOBJ_ADD = (__force kobject_action_t) 0x01, /* add event, for hotplug */ | 42 | KOBJ_ADD = (__force kobject_action_t) 0x01, /* add event, for hotplug */ |
43 | KOBJ_REMOVE = (__force kobject_action_t) 0x02, /* remove event, for hotplug */ | 43 | KOBJ_REMOVE = (__force kobject_action_t) 0x02, /* remove event, for hotplug */ |
44 | KOBJ_CHANGE = (__force kobject_action_t) 0x03, /* a sysfs attribute file has changed */ | 44 | KOBJ_CHANGE = (__force kobject_action_t) 0x03, /* a sysfs attribute file has changed */ |
45 | KOBJ_MOUNT = (__force kobject_action_t) 0x04, /* mount event for block devices */ | 45 | KOBJ_OFFLINE = (__force kobject_action_t) 0x04, /* offline event for hotplug devices */ |
46 | KOBJ_UMOUNT = (__force kobject_action_t) 0x05, /* umount event for block devices */ | 46 | KOBJ_ONLINE = (__force kobject_action_t) 0x05, /* online event for hotplug devices */ |
47 | KOBJ_OFFLINE = (__force kobject_action_t) 0x06, /* offline event for hotplug devices */ | ||
48 | KOBJ_ONLINE = (__force kobject_action_t) 0x07, /* online event for hotplug devices */ | ||
49 | }; | 47 | }; |
50 | 48 | ||
51 | struct kobject { | 49 | struct kobject { |