1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

vfs_aio_fork: Fix vfs_aio_pwrite

Make the data to write available to the child

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke 2017-12-08 14:07:47 +01:00 committed by Jeremy Allison
parent c73195eff3
commit 4091179ca8

View File

@ -703,6 +703,8 @@ static struct tevent_req *aio_fork_pwrite_send(
return tevent_req_post(req, ev);
}
memcpy(state->child->map->ptr, data, n);
ZERO_STRUCT(cmd);
cmd.n = n;
cmd.offset = offset;