mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
4e34e719e4
Replace the ->check_acl method with a ->get_acl method that simply reads an ACL from disk after having a cache miss. This means we can replace the ACL checking boilerplate code with a single implementation in namei.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
14 lines
351 B
C
14 lines
351 B
C
#ifndef LINUX_GENERIC_ACL_H
|
|
#define LINUX_GENERIC_ACL_H
|
|
|
|
#include <linux/xattr.h>
|
|
|
|
struct inode;
|
|
|
|
extern const struct xattr_handler generic_acl_access_handler;
|
|
extern const struct xattr_handler generic_acl_default_handler;
|
|
|
|
int generic_acl_init(struct inode *, struct inode *);
|
|
int generic_acl_chmod(struct inode *);
|
|
|
|
#endif /* LINUX_GENERIC_ACL_H */
|