git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18365c4
)
test send oplock break
author
Stefan Metzmacher
<metze@samba.org>
Tue, 9 Jun 2009 19:30:31 +0000
(21:30 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 7 Jul 2009 15:22:06 +0000
(17:22 +0200)
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index a936a0892e466e308b4727a10b863718ec91f38c..c245a2c94f1ddcf37d779a6f867b66967b270fbc 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-224,6
+224,16
@@
static void smbd_smb2_request_create_done(struct tevent_req *subreq)
nt_errstr(error));
return;
}
+
+ error = smbd_smb2_send_oplock_break(req->conn,
+ 0, /* file id (persistent) */
+ out_file_id_volatile,
+ out_oplock_level);
+ if (!NT_STATUS_IS_OK(error)) {
+ smbd_server_connection_terminate(req->conn,
+ nt_errstr(error));
+ return;
+ }
}
struct smbd_smb2_create_state {