diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-06 18:22:35 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-03-12 12:03:50 +0100 |
commit | 3c0bab4aaf70b2383aa4cbabf6059c48744e8960 (patch) | |
tree | 1a287bcd642ce7a04959ca79b222c2a91debcdea /src/libudev/libudev-monitor.c | |
parent | 1cd0a77022a4da17d1274f8f776b63e72c99fb05 (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.
Diffstat (limited to 'src/libudev/libudev-monitor.c')
0 files changed, 0 insertions, 0 deletions