vfs_aio_fork: Fix vfs_aio_pread
authorVolker Lendecke <vl@samba.org>
Fri, 8 Dec 2017 13:07:06 +0000 (14:07 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Dec 2017 19:37:08 +0000 (20:37 +0100)
commitc73195eff326447d91f7b1cbda94ac2ce00213a1
tree57afd09252d23e2f77408312b60954503a933a47
parentf2dcec97a897cd54c9d71fcd91e76da518b1e98e
vfs_aio_fork: Fix vfs_aio_pread

Copy the data that the child read into the caller's buffer. This can't
have been used in half a decade at least...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/modules/vfs_aio_fork.c