From: Samuel Martin Date: Sat, 12 Jan 2013 08:23:57 +0000 (+0100) Subject: Make sync_file_range() usage optional X-Git-Tag: v2.2.0-rc1~114 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=281047b8a004f2c2d9aea14f7e58166d0cd93775;hp=281047b8a004f2c2d9aea14f7e58166d0cd93775 Make sync_file_range() usage optional Under uClibc, sync_file_range() is not available under all architectures, so we fall back to fdatasync() in this case. Signed-off-by: Thomas Petazzoni Signed-off-by: Samuel Martin Signed-off-by: David Goulet ---