1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2001-2005 Silicon Graphics, Inc.
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 user_namespace *mnt_userns, struct inode *inode,
15 struct posix_acl *acl, int type);
16 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
17 void xfs_forget_acl(struct inode *inode, const char *name);
19 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
23 # define xfs_set_acl NULL
24 static inline void xfs_forget_acl(struct inode *inode, const char *name)
27 #endif /* CONFIG_XFS_POSIX_ACL */
29 #endif /* __XFS_ACL_H__ */