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:28:26 +0000 (08:28 -0700)
commitf717926c7827f56c903d3f4302ac58ae76d47174
treec38e29548b5aca09897fd0c7e249783b4ae0dcb8
parent61bc5eaf3e18e57b5e04d80124827b88e0825a18
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.024223 seconds and 4 git commands to generate.