mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 02:46:55 +07: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>
15 lines
351 B
C
15 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 */
|