]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vfs: missed source of ->f_pos races
authorAl Viro <viro@ZenIV.linux.org.uk>
Mon, 20 Aug 2012 14:28:00 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 17:00:37 +0000 (10:00 -0700)
commit57dba9b60a1ad31042a8e90fafe2a58fba789177
treeada7ef192c765e7d59f06a54009311ba3d10ed4a
parent0253e78cc196ba320a093401a12ab0e5f244a3e9
vfs: missed source of ->f_pos races

commit 0e665d5d1125f9f4ccff56a75e814f10f88861a2 upstream.

compat_sys_{read,write}v() need the same "pass a copy of file->f_pos" thing
as sys_{read,write}{,v}().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/compat.c