***********************************************************************/
static struct aio_open_private_data *create_private_open_data(TALLOC_CTX *ctx,
+ const struct smb_filename *smb_fname,
const files_struct *fsp,
int flags,
mode_t mode)
* opd is always safely freed in all codepath so no
* memory leaks.
*/
- opd = create_private_open_data(fsp->conn, fsp, flags, mode);
+ opd = create_private_open_data(fsp->conn, smb_fname, fsp, flags, mode);
if (opd == NULL) {
DEBUG(10, ("open_async: Could not create private data.\n"));
return -1;