From 0e01fefb4d7bcc1d2a2eef34ac430801ec203964 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Thu, 22 Feb 2018 16:21:35 +0530 Subject: [PATCH] vfs_glusterfs: Fix the wrong pointer being sent in glfs_fsync_async BUG: https://bugzilla.samba.org/show_bug.cgi?id=13297 Pair-Programmed-With: Anoop C S Signed-off-by: Poornima G Reviewed-by: Guenther Deschner --- source3/modules/vfs_glusterfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index f9a96fa004d..38abb78f1f3 100644 --- a/source3/modules/vfs_glusterfs.c +++ b/source3/modules/vfs_glusterfs.c @@ -961,7 +961,7 @@ static struct tevent_req *vfs_gluster_fsync_send(struct vfs_handle_struct PROFILE_TIMESTAMP(&state->start); ret = glfs_fsync_async(*(glfs_fd_t **)VFS_FETCH_FSP_EXTENSION(handle, - fsp), aio_glusterfs_done, req); + fsp), aio_glusterfs_done, state); if (ret < 0) { tevent_req_error(req, -ret); return tevent_req_post(req, ev); -- 2.14.3