s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname().
[kai/samba-autobuild/.git] / source3 / smbd / files.c
index 3e2b3d790543cdf65272a1c7778b0693bb5666af..a3cce138e02b3688b6abfcae29d0a1f4d99e50df 100644 (file)
@@ -118,7 +118,7 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
         * few NULL checks, so make sure it's initialized with something. to
         * be safe until an audit can be done.
         */
-       fsp->fsp_name = synthetic_smb_fname(fsp, "", NULL, NULL);
+       fsp->fsp_name = synthetic_smb_fname(fsp, "", NULL, NULL, 0);
        if (fsp->fsp_name == NULL) {
                file_free(NULL, fsp);
                return NT_STATUS_NO_MEMORY;