]> git.kernelconcepts.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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:21 +0000 (03:37 +0100)
commit6e6abc0339f25e0f45d85fec27aef1e8fe358897
tree2c48ffd42de8b4dc9e6daad4d5fa897ad0843ea8
parenta2810e5462e83ee74a5d20b68b39daa1402a4e5e
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: Ben Hutchings <ben@decadent.org.uk>
fs/compat.c