diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-06 18:22:35 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-03-18 20:38:26 -0400 |
commit | 93d2bf9fcb24d69db27084483c5181722bcc2df8 (patch) | |
tree | eaf3caeb389ff4a852589fb447fc362494b15d8f /src/udev/udev-builtin-kmod.c | |
parent | 87a58f20434358efb217ca0583f7ebce2e1cc3b3 (diff) |
udevd: event - make db loading lazy in REMOVE event handling
We were explicitly eagerly loading the db, then deletenig the backing file and then processing the
rules/symlinks. Instead we delete the backnig db file as the last step and let the db loading be
lazy as everywhere else.
This may save us a bit of work in casese where the db is not needed, but more importantly it hides
some implementation details of libudev-device form udevd.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udev-builtin-kmod.c')
0 files changed, 0 insertions, 0 deletions