git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee617e4
)
s3:smbd: break oplocks to none with FILE_OVERWRITE
author
Volker Lendecke
<vl@samba.org>
Tue, 23 Sep 2014 21:34:14 +0000
(23:34 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 4 Dec 2014 20:11:11 +0000
(21:11 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
87a102189bf2d87e39dd1762fff92465aa7be5ec
)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index ccea1e9d7183fb889ba5940adbabffebb94e1718..26244f6d77b5ed50cf5afa111d6b1bc3d4065fd6 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-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;