Re: [PATCH v2] Cygwin: fsync: Fix EINVAL for block device.

2023-01-22 Thread Corinna Vinschen
On Jan 22 09:08, Takashi Yano wrote: > The commit af8a7c13b516 has a problem that fsync returns EINVAL for > block device. This patch treats block devices as a special case. > https://cygwin.com/pipermail/cygwin/2023-January/252916.html > > Fixes: af8a7c13b516 ("Cygwin: fsync: Return EINVAL for

[PATCH v2] Cygwin: fsync: Fix EINVAL for block device.

2023-01-21 Thread Takashi Yano
The commit af8a7c13b516 has a problem that fsync returns EINVAL for block device. This patch treats block devices as a special case. https://cygwin.com/pipermail/cygwin/2023-January/252916.html Fixes: af8a7c13b516 ("Cygwin: fsync: Return EINVAL for special files.") Reported-by: Yano Ray