123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef __XFS_ACL_H__
- #define __XFS_ACL_H__
- struct inode;
- struct posix_acl;
- #ifdef CONFIG_XFS_POSIX_ACL
- extern struct posix_acl *xfs_get_acl(struct inode *inode, int type);
- extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
- extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
- #else
- static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
- {
- return NULL;
- }
- # define xfs_set_acl NULL
- #endif
- extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags);
- #endif
|