summaryrefslogtreecommitdiff
path: root/dev_d.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-06 14:28:01 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:16:40 -0700
commit2b41e68a08548ce44b4d145900dab2bb04cd34f7 (patch)
treef2e96c9f150775e3673891d38a5af23d4246c826 /dev_d.c
parent482b0ecd8fcc2651c003c6f1ae9a2d3301ecf34a (diff)
[PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a file for every node in /dev/.udevdb/* This solved the problem with deadlocking concurrent udev processes waiting for each other to release the file lock under heavy load.
Diffstat (limited to 'dev_d.c')
-rw-r--r--dev_d.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dev_d.c b/dev_d.c
index 64c2544248..6e35f55ca2 100644
--- a/dev_d.c
+++ b/dev_d.c
@@ -47,7 +47,6 @@ static int run_program(char *name)
switch (pid) {
case 0:
/* child */
- udevdb_exit(); /* close udevdb */
fd = open("/dev/null", O_RDWR);
if ( fd >= 0) {
dup2(fd, STDOUT_FILENO);