fs/sync: dymanic fsync fix