dbwrap: Avoid a stackframe in fetch_locked_internal
authorVolker Lendecke <vl@samba.org>
Fri, 6 Dec 2013 11:38:12 +0000 (11:38 +0000)
committerStefan Metzmacher <metze@samba.org>
Sat, 14 Dec 2013 09:08:07 +0000 (10:08 +0100)
commitfd94f8248198dc943f8b3107b944e971b5e742ce
tree4c60c726b9bfcb05491b258b7b5167192b24c0a4
parent70dfb51430bc3b6e436fb5c5452d7ef8612ca02f
dbwrap: Avoid a stackframe in fetch_locked_internal

This shows in profiles. We call this so often that this is a pretty
hot code path.

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