tdb: Avoid reallocs for lockrecs
authorVolker Lendecke <vl@samba.org>
Mon, 9 Dec 2013 09:56:33 +0000 (09:56 +0000)
committerStefan Metzmacher <metze@samba.org>
Sat, 14 Dec 2013 12:19:47 +0000 (13:19 +0100)
commit75e3326e34c70d4e24af2d2dd8dcbb76597a66b3
tree61368328d60cbb1882dacc885a0aa47dec36bc6d
parentef789022a3d88c3590d7e9121d95dbea2279e3b9
tdb: Avoid reallocs for lockrecs

In normal operations we have at most 3 entries in this array. Don't
bother with shrinking.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Dec 14 13:19:47 CET 2013 on sn-devel-104