summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-03 09:02:12 +0000
committerMichael Adam <obnox@samba.org>2013-10-16 00:45:43 +0200
commit4263d16f134bd93813a880ccb81503bc998a98f3 (patch)
treee70491a9eab1f6cbbcb4d488b034b6c611cece82 /python
parent00d84ad1928a07bc892e8a37d53e7c35b8628b7f (diff)
downloadsamba-4263d16f134bd93813a880ccb81503bc998a98f3.tar.gz
samba-4263d16f134bd93813a880ccb81503bc998a98f3.tar.bz2
samba-4263d16f134bd93813a880ccb81503bc998a98f3.zip
smbd: Decouple grant_fsp_oplock_type from oplock validation
This makes grant_fsp_oplock_type independent from the values computed in validate_oplock_types. It *might* make oplock calculation a bit slower for heavily shared files, as we are walking the share mode array twice. But we are doing so much stuff in open that I doubt the difference is measurable. It clears up the code for me however, and I think that's worth it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions