mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:smbd: break oplocks to none with FILE_OVERWRITE
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
c2bda5bfae
commit
87a102189b
@ -1431,6 +1431,7 @@ static bool delay_for_oplock(files_struct *fsp,
|
||||
|
||||
switch (create_disposition) {
|
||||
case FILE_SUPERSEDE:
|
||||
case FILE_OVERWRITE:
|
||||
case FILE_OVERWRITE_IF:
|
||||
break_to = NO_OPLOCK;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user