From: Mathieu Desnoyers Date: Wed, 23 Aug 2017 15:27:16 +0000 (-0700) Subject: Fix: move fsync after ftruncate X-Git-Tag: v2.11.0-rc1~48 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=d0f6cf574ef992620b09c183cb3a0ea771070ea5;hp=d0f6cf574ef992620b09c183cb3a0ea771070ea5;p=lttng-ust.git 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 ---