This reverts commit
86cc7439501ab9b9eb018a18dbbef9567eb9b6f9.
Now we wait for all aio to finish on all SHUTDOWN_CLOSE
cases, this is no longer needed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
}
struct vfswrap_pwrite_state {
- struct tevent_req *req;
ssize_t ret;
int fd;
const void *buf;
return NULL;
}
- state->req = req;
state->ret = -1;
state->fd = fsp->fh->fd;
state->buf = data;