From d9b00159a68e69d3338fe0e60166b55139c23c88 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 13 Mar 2020 10:36:59 -0700 Subject: [PATCH] Revert "s3: VFS: vfs_glusterfs: Add tevent_req pointer to state struct in vfs_gluster_pwrite_state." This reverts commit 058a7effd00b47e4778f7d680cc9c2a7d40d5fa8. 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 Reviewed-by: Ralph Boehme --- source3/modules/vfs_glusterfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 456e0c8a498..7924f123cca 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -873,7 +873,6 @@ static ssize_t vfs_gluster_pread_recv(struct tevent_req *req, } struct vfs_gluster_pwrite_state { - struct tevent_req *req; ssize_t ret; glfs_fd_t *fd; const void *buf; @@ -909,7 +908,6 @@ static struct tevent_req *vfs_gluster_pwrite_send(struct vfs_handle_struct return NULL; } - state->req = req; state->ret = -1; state->fd = glfd; state->buf = data;