summaryrefslogtreecommitdiff
path: root/lib/param/param_functions.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-02 12:25:07 +0000
committerMichael Adam <obnox@samba.org>2013-10-16 00:33:47 +0200
commit00d84ad1928a07bc892e8a37d53e7c35b8628b7f (patch)
tree13bf2a0a130931ff9cb4233030dee695620147a8 /lib/param/param_functions.c
parentc938a1065fed2a001da69b6a6d826ef31be75003 (diff)
downloadsamba-00d84ad1928a07bc892e8a37d53e7c35b8628b7f.tar.gz
samba-00d84ad1928a07bc892e8a37d53e7c35b8628b7f.tar.bz2
samba-00d84ad1928a07bc892e8a37d53e7c35b8628b7f.zip
smbd: Reduce the complexity of open_file_ntcreate
This removes two variables in open_file_ntcreate based on the observation that for exclusive and batch oplocks there can only be one entry. So in these cases we don't need to keep pointers from find_oplock_types to delay_for_oplocks. We can just reference the only share mode entry around. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/param/param_functions.c')
0 files changed, 0 insertions, 0 deletions