commit | ba81365ca9669de9b5a22d246d6cce379150b7fc | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Mon Oct 31 12:06:02 2011 +0100 |
committer | Hannes Reinecke <hare@suse.de> | Mon Oct 31 12:06:02 2011 +0100 |
tree | 33bfb808c24ea45f779c19469bd6684c6852a69b | |
parent | 88be678f8fc7f41910eafc6120100d0be9744e2e [diff] |
Do not lookup sysfs devices in cache for 'add' events For 'add' events the same devpath might point to a different device, so we really shouldn't lookup the device in the cache. Rather we should omit the cache altogether and use a new one. For any sane operation the stale device should have received a 'remove' event, so the cache should've been cleaned up. References: bnc#719838 Signed-off-by: Hannes Reinecke <hare@suse.de>