On 8/5/20 11:47 AM, Nikos Tsipinakis wrote:
Can you elaborate? I can't find a code path that loses the errno.
full_read reads a partial block and then tries to read again. The second read fails with errno == EIO. full_read then returns the number of bytes successfully read, and the caller ignores errno.