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:
parent
c73195eff3
commit
4091179ca8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user