get rid of boilerplate switches in posix_acl.h
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Aug 2011 04:47:21 +0000 (00:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Aug 2011 04:47:21 +0000 (00:47 -0400)
commit951c0d660a7c35286e401ca6d6ef38c9d49643c7
tree3d642b16e966a5f000c288bfbcac868cf994559c
parentda5aa861bea09197e6ae4d7c46618616064891e4
get rid of boilerplate switches in posix_acl.h

the only potentially subtle thing here: get_cached_acl()
is never called with the second argument other than
ACL_TYPE_{ACCESS,DEFAULT}.  IOW, that return ERR_PTR(-EINVAL)
in there might as well be BUG().

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