fs: add get_acl helper
authorChristoph Hellwig <hch@infradead.org>
Fri, 20 Dec 2013 13:16:38 +0000 (05:16 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2014 04:58:16 +0000 (23:58 -0500)
commit2982baa2ae31eb23ce29b688ab2f77eb019062f3
tree6c4046b236c983f2a8bdc3a760edb71de01fa33e
parent5c8ebd57b6a51daf53f75b7a16c45090a98a91a4
fs: add get_acl helper

Factor out the code to get an ACL either from the inode or disk from
check_acl, so that it can be used elsewhere later on.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
fs/posix_acl.c
include/linux/posix_acl.h