chiark / gitweb /
Speed up udev_enumerate_scan_*
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 21 Dec 2009 14:41:25 +0000 (15:41 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 21 Dec 2009 14:41:25 +0000 (15:41 +0100)
commitb73bf332c2da4f539d029d5e9a09af76df12181f
treebf1a2387d04ee3e6d1674e53c375d3e177658fa5
parentc71d6a45aadbf69b394442e8b89c35db33afcff3
Speed up udev_enumerate_scan_*

Check property match earlier, to avoid lots of readlink() and stat()
calls when we check property matches.
libudev/libudev-enumerate.c