compat_{get,put}_bitmap(): use unsafe_{get,put}_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 30 May 2017 04:29:38 +0000 (00:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Jun 2017 03:51:17 +0000 (23:51 -0400)
commit1e1fc133483ef3b56c20bf3cd9241146c41042f8
tree6f4df10c1fcb97d3cdaf4c006e55dd08f8e3b16f
parent9a4690379206695b63a175e227877490beb2eeda
compat_{get,put}_bitmap(): use unsafe_{get,put}_user()

unroll the inner loops, while we are at it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/compat.h
kernel/compat.c