1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Revert "s3: VFS: vfs_default: Add tevent_req pointer to state struct in vfswrap_pwrite_state."

This reverts commit 86cc743950.

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>
This commit is contained in:
Jeremy Allison 2020-03-13 10:40:02 -07:00
parent a6c186b683
commit 6041a93612

View File

@ -929,7 +929,6 @@ static ssize_t vfswrap_pread_recv(struct tevent_req *req,
}
struct vfswrap_pwrite_state {
struct tevent_req *req;
ssize_t ret;
int fd;
const void *buf;
@ -959,7 +958,6 @@ static struct tevent_req *vfswrap_pwrite_send(struct vfs_handle_struct *handle,
return NULL;
}
state->req = req;
state->ret = -1;
state->fd = fsp->fh->fd;
state->buf = data;