mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
021b18c0dd
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)