summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-09-15 00:16:46 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-09-15 00:16:46 -0700
commit29917e272bd25f227eddf43d4fd0a8e9e6794e3d (patch)
treef39cb0c661242e22fa12a154bb89cd1d814a0e11 /lib
parentdb062d4a6fefc23b61c0315ac286cfeae0791329 (diff)
kevent: add block mount and umount support
Send notification over the new netlink socket to let userspace know that the filesystem code claims/releases the superblock on an blockdevice. This way, userspace can get rid of constantly polling /proc/mounts to watch for filesystem changes. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject_uevent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 349839872925..33e0cef31ba8 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -32,6 +32,7 @@ static char *actions[] = {
"remove", /* 0x01 */
"change", /* 0x02 */
"mount", /* 0x03 */
+ "umount", /* 0x04 */
};
static char *action_to_string(enum kobject_action action)