dbwrap_cache: Check negative first
authorVolker Lendecke <vl@samba.org>
Sat, 7 Dec 2013 12:58:43 +0000 (12:58 +0000)
committerStefan Metzmacher <metze@samba.org>
Sat, 14 Dec 2013 09:10:25 +0000 (10:10 +0100)
commit95bfc1568648d03d5f03ab3f720a961dbc4d6cd5
tree80ffd6eaf4007c973caa5a9316e461d55f9e94ba
parenta31d08feeb65bd3b4ff175c8096fb23f8d496789
dbwrap_cache: Check negative first

dbwrap_cache is right now used for notify most, and we hope to have very
few notifies around. So negative hits will be more likely than positive

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/dbwrap/dbwrap_cache.c