dynamic fsync: fixed compilation error

Signed-off-by: Pafcholini <pafcholini@gmail.com>