Fix: move fsync after ftruncate
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Aug 2017 15:27:16 +0000 (08:27 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Aug 2017 15:27:16 +0000 (08:27 -0700)
commitd0f6cf574ef992620b09c183cb3a0ea771070ea5
treea13e48b7f91a143814d81a0fba4127ed1ef852e9
parent429dadf0e28fe24be158ddb76d09f5f2308b6467
Fix: move fsync after ftruncate

Move fsync after ftruncate to ensure we sync up all metadata after the
entire initialization of the buffer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/shm.c
This page took 0.024424 seconds and 5 git commands to generate.