diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-11 11:36:54 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-06 20:22:09 +0200 |
commit | 5d8f64c47d02c2aa58f3f0c87903bbd41d086aa0 (patch) | |
tree | 09b1a428961c187a54294f3a6afe06929e664f84 /lib/dbwrap/dbwrap_cache.h | |
parent | 2b3c5bea1c1512bc250481690b2d968491738629 (diff) | |
download | samba-5d8f64c47d02c2aa58f3f0c87903bbd41d086aa0.tar.gz samba-5d8f64c47d02c2aa58f3f0c87903bbd41d086aa0.tar.bz2 samba-5d8f64c47d02c2aa58f3f0c87903bbd41d086aa0.zip |
smbd: Restructure brl_get_locks_readonly
This is step 1 to get rid of brl_get_locks_internal with its complex readonly
business. It also optimizes 2 things: First, it uses dbwrap_parse_record to
avoid a talloc and memcpy, and second it uses talloc_pooled_object.
And -- hopefully it is easier to understand the caching logic with
fsp->brlock_rec and the clustering escape.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/dbwrap/dbwrap_cache.h')
0 files changed, 0 insertions, 0 deletions