Switch flock copyin/copyout primitives to copy_{from,to}_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Jun 2017 03:51:31 +0000 (23:51 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Jun 2017 03:52:44 +0000 (23:52 -0400)
commit8c6657cb50cb037ff58b3f6a547c6569568f3527
tree05c9742b1e1cbaabf4571ae40105d1d1c60b2957
parentca1579f6c6085ecb1838d9ee052e535682cc0e73
Switch flock copyin/copyout primitives to copy_{from,to}_user()

... and lose HAVE_ARCH_...; if copy_{to,from}_user() on an
architecture sucks badly enough to make it a problem, we have
a worse problem.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fcntl.c