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:
c29d5c8
)
TODO smb2_create_durable_reconnect: release the sharemode lock at the end
author
Michael Adam
<obnox@samba.org>
Mon, 13 Feb 2012 22:00:30 +0000
(23:00 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:41:46 +0000
(18:41 +0200)
(temporary this way, there is still stuff missing in between)
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 4731319c476277c3f309dc4ea4712480e175004e..eed113563d2df3d32700b71bbc783736f2bf6729 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-448,8
+448,12
@@
static NTSTATUS smb2_create_durable_reconnect(struct smbXsrv_open *op,
/*
* - reopen the file with SMB_VFS_OPEN()
* - build a files_struct
- * - release the sharemode lock
- * - update fsp pointer in smbXsrv_open
+ */
+
+ /* - release the sharemode lock */
+ talloc_free(sharemode_lock);
+
+ /* - update fsp pointer in smbXsrv_open
* - return
*
* ... think about seek()