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:29 +0000 (08:28 -0700)
commit003c99308a8c37855434c579e6d53a77a12923c5
treed893740f1169f1c16075c82f2c5e7198a8d4c5e0
parent1e88ac269f04995e989f7fda1eb93e0c7f2ed600
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.029284 seconds and 4 git commands to generate.