mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 01:42:49 +08:00
b59373b270
Because sync is a rather expensive operation. While I'm here, improve the comment after the recent discussion in https://github.com/apache/nuttx/pull/2913. IMHO, we should not perform the sync even for O_TRUNC. But I'm not going to propose the change for now. Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>