diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 05:16:38 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:16 -0500 |
commit | 2982baa2ae31eb23ce29b688ab2f77eb019062f3 (patch) | |
tree | 6c4046b236c983f2a8bdc3a760edb71de01fa33e /include | |
parent | 5c8ebd57b6a51daf53f75b7a16c45090a98a91a4 (diff) | |
download | linux-2982baa2ae31eb23ce29b688ab2f77eb019062f3.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/posix_acl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 7931efe71175..a8d9918c0b20 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h @@ -175,4 +175,6 @@ static inline void cache_no_acl(struct inode *inode) #endif } +struct posix_acl *get_acl(struct inode *inode, int type); + #endif /* __LINUX_POSIX_ACL_H */ |