bnx2x: remove ndo_poll_controller
[linux/fpc-iii.git] / fs / xfs / xfs_acl.h
blob94615e34bc868ca4f263abc99443831b4a2e4d83
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright (c) 2001-2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6 #ifndef __XFS_ACL_H__
7 #define __XFS_ACL_H__
9 struct inode;
10 struct posix_acl;
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)
19 return NULL;
21 # define xfs_set_acl NULL
22 #endif /* CONFIG_XFS_POSIX_ACL */
24 extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags);
26 #endif /* __XFS_ACL_H__ */