]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "s3: VFS: vfs_glusterfs: Add tevent_req pointer to state struct in vfs_gluster...
authorJeremy Allison <jra@samba.org>
Fri, 13 Mar 2020 17:36:03 +0000 (10:36 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 18 Mar 2020 18:03:30 +0000 (18:03 +0000)
This reverts commit c0c088b1b786f0ba248960114191277e91bbba2f.

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>
source3/modules/vfs_glusterfs.c

index d5d402d72ab9eddd068d4769f6f05a959a3c6b4b..4e978f168d6bcc66507220841d148b0035b33c5e 100644 (file)
@@ -1114,7 +1114,6 @@ static int vfs_gluster_renameat(struct vfs_handle_struct *handle,
 }
 
 struct vfs_gluster_fsync_state {
-       struct tevent_req *req;
        ssize_t ret;
        glfs_fd_t *fd;
 
@@ -1145,7 +1144,6 @@ static struct tevent_req *vfs_gluster_fsync_send(struct vfs_handle_struct
                return NULL;
        }
 
-       state->req = req;
        state->ret = -1;
        state->fd = glfd;