Bug 24264 – Crash on removing NULL value from hash in device_remove()
authorDavid Zeuthen <davidz@redhat.com>
Fri, 9 Oct 2009 15:12:10 +0000 (11:12 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 9 Oct 2009 15:12:10 +0000 (11:12 -0400)
commit7d9be0143e8d5b34364c5b7dc27cf735da84b558
treedc2ef55b6a3bbc10a59134dc75496615d270e600
parent81a9335244662b041f0f1842b9a76c6a3965b53b
Bug 24264 – Crash on removing NULL value from hash in device_remove()

Properly handle the situtation where we're processing a 'change' event
but the 'remove' event has happened but is still queued up in our own
process. Also handle device file renames and 'move' uevents.

https://bugs.freedesktop.org/show_bug.cgi?id=24264
src/devkit-disks-daemon.c