xapi-project / vhd-tool

Command-line tools for streaming and manipulating vhd format data
Other
8 stars 26 forks source link

CA-290891: do not call fdatasync on pipes/sockets #64

Closed edwintorok closed 6 years ago

edwintorok commented 6 years ago

fdatasync will return EINVAL on special files such as pipes, and sockets. We only want fdatasync if we are writing to a file or block device.

lindig commented 6 years ago

I will port this to the 0.11-lcm branch.