open_posix:aio_fsync:8-1: wait for aio_write completion

Wait for aio_write() completion.
If aio_fsync() sync the fd without the previous aio_write()
completion, it will cause Segment Fault.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
1 file changed