Christoph Hellwig | 1c7c474 | 2009-11-03 16:44:44 +0100 | [diff] [blame] | 1 | #ifndef LINUX_GENERIC_ACL_H |
| 2 | #define LINUX_GENERIC_ACL_H |
Andreas Gruenbacher | f0c8bd1 | 2006-09-29 02:01:34 -0700 | [diff] [blame] | 3 | |
Christoph Hellwig | 1c7c474 | 2009-11-03 16:44:44 +0100 | [diff] [blame] | 4 | #include <linux/xattr.h> |
Andreas Gruenbacher | f0c8bd1 | 2006-09-29 02:01:34 -0700 | [diff] [blame] | 5 | |
Christoph Hellwig | 1c7c474 | 2009-11-03 16:44:44 +0100 | [diff] [blame] | 6 | struct inode; |
Andreas Gruenbacher | f0c8bd1 | 2006-09-29 02:01:34 -0700 | [diff] [blame] | 7 | |
Stephen Hemminger | bb43545 | 2010-05-13 17:53:14 -0700 | [diff] [blame] | 8 | extern const struct xattr_handler generic_acl_access_handler; |
| 9 | extern const struct xattr_handler generic_acl_default_handler; |
Andreas Gruenbacher | f0c8bd1 | 2006-09-29 02:01:34 -0700 | [diff] [blame] | 10 | |
Christoph Hellwig | 1c7c474 | 2009-11-03 16:44:44 +0100 | [diff] [blame] | 11 | int generic_acl_init(struct inode *, struct inode *); |
| 12 | int generic_acl_chmod(struct inode *); |
Nick Piggin | b74c79e | 2011-01-07 17:49:58 +1100 | [diff] [blame] | 13 | int generic_check_acl(struct inode *inode, int mask, unsigned int flags); |
Andreas Gruenbacher | f0c8bd1 | 2006-09-29 02:01:34 -0700 | [diff] [blame] | 14 | |
Christoph Hellwig | 1c7c474 | 2009-11-03 16:44:44 +0100 | [diff] [blame] | 15 | #endif /* LINUX_GENERIC_ACL_H */ |