mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 20:06:46 +00:00 
			
		
		
		
	 bb4354538e
			
		
	
	
		bb4354538e
		
	
	
	
	
		
			
			The entries in xattr handler table should be immutable (ie const) like other operation tables. Later patches convert common filesystems. Uncoverted filesystems will still work, but will generate a compiler warning. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
		
			
				
	
	
		
			16 lines
		
	
	
		
			405 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			405 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef LINUX_GENERIC_ACL_H
 | |
| #define LINUX_GENERIC_ACL_H
 | |
| 
 | |
| #include <linux/xattr.h>
 | |
| 
 | |
| struct inode;
 | |
| 
 | |
| extern const struct xattr_handler generic_acl_access_handler;
 | |
| extern const struct xattr_handler generic_acl_default_handler;
 | |
| 
 | |
| int generic_acl_init(struct inode *, struct inode *);
 | |
| int generic_acl_chmod(struct inode *);
 | |
| int generic_check_acl(struct inode *inode, int mask);
 | |
| 
 | |
| #endif /* LINUX_GENERIC_ACL_H */
 |