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:
b4b6cc9
)
smb2_create: hand out the persistent and volatile IDs gotten from the smbXsrv open...
author
Michael Adam
<obnox@samba.org>
Thu, 9 Feb 2012 23:55:59 +0000
(
00:55
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:41:21 +0000
(18:41 +0200)
(instead of the fnum)
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 65ac0d476ac512aeae77ba18f479a6aa708387ab..337f0ee7a5a80456e5274f896cd1d3d62aa70ef8 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-853,8
+853,8
@@
static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
* in case of durable open, persistent id must be
* generated from a db, being unique server-wide.
*/
- state->out_file_id_persistent = result->
fnum
;
- state->out_file_id_volatile = result->
fnum
;
+ state->out_file_id_persistent = result->
smbXsrv->global->open_persistent_id
;
+ state->out_file_id_volatile = result->
smbXsrv->volatile_id
;
state->out_context_blobs = out_context_blobs;
tevent_req_done(req);