]> git.baikalelectronics.ru Git - kernel.git/commit
vmci_host: get rid of pointless access_ok()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 8 May 2020 03:28:15 +0000 (23:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 May 2020 15:06:38 +0000 (11:06 -0400)
commitdaf0a9c0b712bae58c7714e1617fb6541b609778
tree21d71eac20c87fe59b4fd914b64a580c7fb44074
parentcd4db43b70e184089a8e7b3fff09320ff482ce32
vmci_host: get rid of pointless access_ok()

get_user_pages_fast() doesn't need the caller to check that.
NB: reachable only from ioctl(2) and only under USER_DS

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/misc/vmw_vmci/vmci_host.c