diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-11 10:17:05 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-06 20:16:00 +0200 |
commit | 2b3c5bea1c1512bc250481690b2d968491738629 (patch) | |
tree | e49641493d9e4914d6956cee3432e2d33477e8f8 /nsswitch/wb_reqtrans.c | |
parent | f650bb94c8b79bec87c2a1f17b573c27e0ef1b1b (diff) | |
download | samba-2b3c5bea1c1512bc250481690b2d968491738629.tar.gz samba-2b3c5bea1c1512bc250481690b2d968491738629.tar.bz2 samba-2b3c5bea1c1512bc250481690b2d968491738629.zip |
smbd: Avoid an if-statement per read/write in the non-clustered case
Without clustering, fsp->brlock_rec will never be set anyway. In the
clustering case we can't use the seqnum trick, so this is slow enough
that the additional if-statement does not matter in this case anyway. In
the non-clustered case it might. Have not measured it, but every little
bit helps I guess.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'nsswitch/wb_reqtrans.c')
0 files changed, 0 insertions, 0 deletions