mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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>
This commit is contained in:
parent
5c8ebd57b6
commit
2982baa2ae
3 changed files with 32 additions and 21 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue