Try to check that ptmx_fops.fsync is correct.