1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00
Rusty Russell 021b18c0dd tdb: remove num_locks
This was redundant before this patch series: it mirrored num_lockrecs
exactly.  It still does.

Also, skip useless branch when locks == 1: unconditional assignment is
cheaper anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(Imported from commit 1ab8776247f89b143b6e58f4b038ab4bcea20d3a)

(This used to be ctdb commit 587ac01ce836286aab54bfcb7a693a0170c7ebd3)
2010-04-22 13:54:05 +09:30
..
2010-04-22 13:54:05 +09:30
2009-12-16 08:03:52 +01:00
2010-04-22 13:45:58 +09:30
2009-12-16 08:03:52 +01:00