git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI: make acpi_bus_register_driver() return success/failure, not device count
[pandora-kernel.git]
/
lib
/
kobject_uevent.c
diff --git
a/lib/kobject_uevent.c
b/lib/kobject_uevent.c
index
f56e27a
..
982226d
100644
(file)
--- a/
lib/kobject_uevent.c
+++ b/
lib/kobject_uevent.c
@@
-22,10
+22,12
@@
#include <linux/kobject.h>
#include <net/sock.h>
#include <linux/kobject.h>
#include <net/sock.h>
-#define BUFFER_SIZE
1024
/* buffer for the variables */
+#define BUFFER_SIZE
2048
/* buffer for the variables */
#define NUM_ENVP 32 /* number of env pointers */
#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
#define NUM_ENVP 32 /* number of env pointers */
#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
+u64 uevent_seqnum;
+char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
static DEFINE_SPINLOCK(sequence_lock);
static struct sock *uevent_sock;
static DEFINE_SPINLOCK(sequence_lock);
static struct sock *uevent_sock;
@@
-38,6
+40,10
@@
static char *action_to_string(enum kobject_action action)
return "remove";
case KOBJ_CHANGE:
return "change";
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:
case KOBJ_OFFLINE:
return "offline";
case KOBJ_ONLINE: