0001
0002
0003
0004
0005
0006
0007 #ifndef __ACL_DOT_H__
0008 #define __ACL_DOT_H__
0009
0010 #include "incore.h"
0011
0012 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
0013
0014 extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type, bool rcu);
0015 extern int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
0016 extern int gfs2_set_acl(struct user_namespace *mnt_userns, struct inode *inode,
0017 struct posix_acl *acl, int type);
0018
0019 #endif