mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
vfs_aio_pthread: pass smb_fname to open_async()
Not yet used. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a6344334c0
commit
c51a8f36da
@ -333,9 +333,10 @@ static int opd_inflight_destructor(struct aio_open_private_data *opd)
|
||||
Setup an async open.
|
||||
*****************************************************************/
|
||||
|
||||
static int open_async(const files_struct *fsp,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
static int open_async(const struct smb_filename *smb_fname,
|
||||
const files_struct *fsp,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
{
|
||||
struct aio_open_private_data *opd = NULL;
|
||||
struct tevent_req *subreq = NULL;
|
||||
@ -479,7 +480,7 @@ static int aio_pthread_open_fn(vfs_handle_struct *handle,
|
||||
}
|
||||
|
||||
/* Ok, it's a create exclusive call - pass it to a thread helper. */
|
||||
return open_async(fsp, flags, mode);
|
||||
return open_async(smb_fname, fsp, flags, mode);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user