update TODO in smb2_create_durable_reconnect
authorStefan Metzmacher <metze@samba.org>
Mon, 13 Feb 2012 14:35:03 +0000 (15:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:41:41 +0000 (18:41 +0200)
source3/smbd/smb2_create.c

index 9b81dfbeca1b9fda788fc0c2a6b8dc259b29542e..a534f78a04423a2f6c0151f2d36933d5a2c49ef4 100644 (file)
@@ -431,6 +431,17 @@ static NTSTATUS smb2_create_durable_reconnect(struct smbXsrv_open *op,
                return NT_STATUS_OBJECT_NAME_NOT_FOUND;
        }
 
+       /*
+        *
+        * - refetch with lock and update the pid
+        * - reopen the file with SMB_VFS_OPEN()
+        * - build a files_struct
+        * - release the sharemode lock
+        * - update fsp pointer in smbXsrv_open
+        * - return
+        *
+        * ... think about seek()
+        */
        /* 2. proceed with opening file */
        return NT_STATUS_NOT_IMPLEMENTED;
 }