TODO smb2_create_durable_reconnect: release the sharemode lock at the end
authorMichael Adam <obnox@samba.org>
Mon, 13 Feb 2012 22:00:30 +0000 (23:00 +0100)
committerStefan 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

index 4731319c476277c3f309dc4ea4712480e175004e..eed113563d2df3d32700b71bbc783736f2bf6729 100644 (file)
@@ -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()