diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-03 09:02:12 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-16 00:45:43 +0200 |
commit | 4263d16f134bd93813a880ccb81503bc998a98f3 (patch) | |
tree | e70491a9eab1f6cbbcb4d488b034b6c611cece82 /script/show_test_time | |
parent | 00d84ad1928a07bc892e8a37d53e7c35b8628b7f (diff) | |
download | samba-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 'script/show_test_time')
0 files changed, 0 insertions, 0 deletions