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

From: Linus Torvalds
Date: Mon Mar 03 2014 - 17:01:42 EST


On Mon, Mar 3, 2014 at 1:45 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> And it looks like you've missed compat counterparts.

Grr. Yes, I missed them for compat_readv/writev - even though I
grepped for various users, but I grepped for all the *other* cases (ie
vfs_{read|write|llseek}). That means that the locker helper can't be
static to fs/read_write.c. Oh well.

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/