diff options
author | Poornima G <pgurusid@redhat.com> | 2018-02-22 16:21:35 +0530 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-04-11 12:56:12 +0200 |
commit | 24354b0fdaa0512ffc50c9f037135f4f1d11a008 (patch) | |
tree | d27b4d803c2a2bae8dd869123c75e7c67dce2647 | |
parent | 94d91c990630c157bc162c2baf600a97c359af51 (diff) | |
download | samba-24354b0fdaa0512ffc50c9f037135f4f1d11a008.tar.gz |
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 <anoopcs@redhat.com>
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Feb 26 20:17:50 CET 2018 on sn-devel-144
(cherry picked from commit 46e6626f73f42c84f254507c3ec2b591e2e732ba)
-rw-r--r-- | source3/modules/vfs_glusterfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c index 09e74ebde1f..62003334109 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); |