| .. | .. |
|---|
| 13 | 13 | extern struct posix_acl *xfs_get_acl(struct inode *inode, int type); |
|---|
| 14 | 14 | extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); |
|---|
| 15 | 15 | extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); |
|---|
| 16 | +void xfs_forget_acl(struct inode *inode, const char *name); |
|---|
| 16 | 17 | #else |
|---|
| 17 | 18 | static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type) |
|---|
| 18 | 19 | { |
|---|
| 19 | 20 | return NULL; |
|---|
| 20 | 21 | } |
|---|
| 21 | 22 | # define xfs_set_acl NULL |
|---|
| 23 | +static inline void xfs_forget_acl(struct inode *inode, const char *name) |
|---|
| 24 | +{ |
|---|
| 25 | +} |
|---|
| 22 | 26 | #endif /* CONFIG_XFS_POSIX_ACL */ |
|---|
| 23 | | - |
|---|
| 24 | | -extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags); |
|---|
| 25 | 27 | |
|---|
| 26 | 28 | #endif /* __XFS_ACL_H__ */ |
|---|