]> git.ipfire.org Git - thirdparty/systemd.git/commit
[PATCH] fix UDEV_NO_SLEEP
authortrini@kernel.crashing.org <trini@kernel.crashing.org>
Wed, 11 Aug 2004 08:02:59 +0000 (01:02 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:36:59 +0000 (21:36 -0700)
commit2410242aa4d21335026d3b90116078c9146a32f3
tree9c582b28a6b04c9aa18757589bfdcdd561ecc80b
parenta4f5eb034bdbb77236f24f24c09286aa03f404ab
[PATCH] fix UDEV_NO_SLEEP

Move setting UDEV_NO_SLEEP into main().  I thought about moving
udev_init_config() around, but it still must be invoked in both udev and
udevstart cases, and before udev_hotplug() is called.  An alternative
would be to have main() do:
if (is_udevstart) {
... current ...
} else {
udev_init_config();
return udev_hotplug();
}

And move setting UDEV_NO_SLEEP into udev_start().  I can redo it that
way, if you prefer.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
udev.c
udevstart.c