mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
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 46e6626f73
)
This commit is contained in:
parent
94d91c9906
commit
24354b0fda
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user