mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:46:46 +07:00
bb4354538e
The entries in xattr handler table should be immutable (ie const) like other operation tables. Later patches convert common filesystems. Uncoverted filesystems will still work, but will generate a compiler warning. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 lines
405 B
C
16 lines
405 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 *);
|
|
int generic_check_acl(struct inode *inode, int mask);
|
|
|
|
#endif /* LINUX_GENERIC_ACL_H */
|