Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.19-rc6 26 lines 721 B view raw
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__ 8 9struct inode; 10struct posix_acl; 11 12#ifdef CONFIG_XFS_POSIX_ACL 13extern struct posix_acl *xfs_get_acl(struct inode *inode, int type); 14extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 15extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 16#else 17static 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 /* CONFIG_XFS_POSIX_ACL */ 23 24extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags); 25 26#endif /* __XFS_ACL_H__ */