Lines Matching defs:inode
22 #include "inode.h"
40 static struct posix_acl *__gfs2_get_acl(struct inode *inode, int type)
42 struct gfs2_inode *ip = GFS2_I(inode);
60 struct posix_acl *gfs2_get_acl(struct inode *inode, int type, bool rcu)
62 struct gfs2_inode *ip = GFS2_I(inode);
77 acl = __gfs2_get_acl(inode, type);
83 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
103 error = __gfs2_xattr_set(inode, name, data, len, 0, GFS2_EATYPE_SYS);
106 set_cached_acl(inode, type, acl);
115 struct inode *inode = d_inode(dentry);
116 struct gfs2_inode *ip = GFS2_I(inode);
122 if (acl && acl->a_count > GFS2_ACL_MAX_ENTRIES(GFS2_SB(inode)))
136 mode = inode->i_mode;
138 ret = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, &acl);
143 ret = __gfs2_set_acl(inode, acl, type);
144 if (!ret && mode != inode->i_mode) {
145 inode_set_ctime_current(inode);
146 inode->i_mode = mode;
147 mark_inode_dirty(inode);