]> git.baikalelectronics.ru Git - kernel.git/commit
posix_acl: Unexport acl_by_type and make it static
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Mar 2016 13:38:38 +0000 (14:38 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 Mar 2016 04:30:26 +0000 (00:30 -0400)
commitf4e4ba0c5e9450ccad7c71539f1c82ba5d3143b8
tree6ad5919d77aa1e07a446117d8fd5d080483ee079
parentf24c308f6d1a186eb7c3c6b61de05378336c1bdd
posix_acl: Unexport acl_by_type and make it static

acl_by_type(inode, type) returns a pointer to either inode->i_acl or
inode->i_default_acl depending on type.  This is useful in
fs/posix_acl.c, but should never have been visible outside that file.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/posix_acl.c
include/linux/posix_acl.h