[XFS] fix error inversion problems with data flushing