Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
struct dos_mode_at_state *state =
tevent_req_data(req,
struct dos_mode_at_state);
- char *path = NULL;
struct vfs_aio_state aio_state;
NTSTATUS status;
bool ok;
* Fall back to sync dos_mode() if we got NOT_IMPLEMENTED.
*/
- path = talloc_asprintf(state,
- "%s/%s",
- state->dir_fsp->fsp_name->base_name,
- state->smb_fname->base_name);
- if (tevent_req_nomem(path, req)) {
- return;
- }
-
state->dosmode = fdos_mode(state->smb_fname->fsp);
tevent_req_done(req);
return;