Re: Update of file offset on write() etc. is non-atomic with I/O

From: Linus Torvalds
Date: Mon Mar 03 2014 - 17:22:27 EST


On Mon, Mar 3, 2014 at 2:10 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> It can - compat read/write/read/writev are also there these days.

There is no "compat_read/write()" - or I would have noticed it when
grepping. Regular read/write is fine for the compat case.

It's only readv/writev that have compat versions, because the vectors
need to be converted,

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/