git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14000ba
)
SQ: smb2_create
persistent-wip
author
Michael Adam
<obnox@samba.org>
Tue, 24 Oct 2017 22:43:08 +0000
(
00:43
+0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Oct 2017 22:43:08 +0000
(
00:43
+0200)
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index f42fe7751e39686bc0feaa3982fde58b465defef..a5032404082d13a8b73a337fe800b85ad6c7a062 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-834,6
+834,10
@@
static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
*/
durable_requested = true;
+ if (dh2q_flags & SMB2_DHANDLE_FLAG_PERSISTENT) {
+ persistent_requested = true;
+ }
+
if (persistent_requested) {
durable_timeout_msec = durable_v2_timeout;
}
@@
-846,10
+850,6
@@
static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
durable_timeout_msec = (60*1000);
}
- if (dh2q_flags & SMB2_DHANDLE_FLAG_PERSISTENT) {
- persistent_requested = true;
- }
-
/*
* Check for replay operation.
* Only consider it when we have dh2q.