diff options
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r-- | lib/kobject_uevent.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index f56e27ae9d52..086a0c6e888e 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/kobject.h> | 22 | #include <linux/kobject.h> |
23 | #include <net/sock.h> | 23 | #include <net/sock.h> |
24 | 24 | ||
25 | #define BUFFER_SIZE 1024 /* buffer for the variables */ | 25 | #define BUFFER_SIZE 2048 /* buffer for the variables */ |
26 | #define NUM_ENVP 32 /* number of env pointers */ | 26 | #define NUM_ENVP 32 /* number of env pointers */ |
27 | 27 | ||
28 | #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) | 28 | #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) |
@@ -38,6 +38,10 @@ static char *action_to_string(enum kobject_action action) | |||
38 | return "remove"; | 38 | return "remove"; |
39 | case KOBJ_CHANGE: | 39 | case KOBJ_CHANGE: |
40 | return "change"; | 40 | return "change"; |
41 | case KOBJ_MOUNT: | ||
42 | return "mount"; | ||
43 | case KOBJ_UMOUNT: | ||
44 | return "umount"; | ||
41 | case KOBJ_OFFLINE: | 45 | case KOBJ_OFFLINE: |
42 | return "offline"; | 46 | return "offline"; |
43 | case KOBJ_ONLINE: | 47 | case KOBJ_ONLINE: |