0001
0002
0003
0004
0005 #ifndef _H_JFS_ACL
0006 #define _H_JFS_ACL
0007
0008 #ifdef CONFIG_JFS_POSIX_ACL
0009
0010 struct posix_acl *jfs_get_acl(struct inode *inode, int type, bool rcu);
0011 int jfs_set_acl(struct user_namespace *mnt_userns, struct inode *inode,
0012 struct posix_acl *acl, int type);
0013 int jfs_init_acl(tid_t, struct inode *, struct inode *);
0014
0015 #else
0016
0017 static inline int jfs_init_acl(tid_t tid, struct inode *inode,
0018 struct inode *dir)
0019 {
0020 return 0;
0021 }
0022
0023 #endif
0024 #endif