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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Aug 2012 17:11:47 +0000 (10:11 -0700)
commit0e665d5d1125f9f4ccff56a75e814f10f88861a2
tree2f05f399fe4845893180fd9d7ea80b711e178e9e
parent90785be317dabdef6e9763e75e370991a6a46c91
vfs: missed source of ->f_pos races

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>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/compat.c