devcgroup_inode_permission: take "is it a device node" checks to inlined wrapper
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 19 Jun 2011 17:01:04 +0000 (13:01 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:46:04 +0000 (10:46 -0400)
commit482e0cd3dbaa70f2a2bead4b5f2c0d203ef654ba
tree68d885682da34a08c29908d012a356344882a487
parent8e833fd2e1f0107ee7a4b6bc4de3c9f0e9b0ed41
devcgroup_inode_permission: take "is it a device node" checks to inlined wrapper

inode_permission() calls devcgroup_inode_permission() and almost all such
calls are _not_ for device nodes; let's at least keep the common path
straight...

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