This source file includes following definitions.
- xfs_get_acl
1
2
3
4
5
6 #ifndef __XFS_ACL_H__
7 #define __XFS_ACL_H__
8
9 struct inode;
10 struct posix_acl;
11
12 #ifdef CONFIG_XFS_POSIX_ACL
13 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type);
14 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
15 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
16 #else
17 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
18 {
19 return NULL;
20 }
21 # define xfs_set_acl NULL
22 #endif
23
24 extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags);
25
26 #endif