aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/acl.h
diff options
context:
space:
mode:
authorChristoph Hellwig2013-12-20 05:16:52 -0800
committerAl Viro2014-01-25 23:58:22 -0500
commite01580bf9e4d0e3bbaead44bd46cdbfe61957732 (patch)
tree1f853adc16d311670dbfba0cf6e2e7555d1d9b4b /fs/gfs2/acl.h
parent2cc6a5a01cdbeb0e46f3aa144819d5d7cee458a1 (diff)
gfs2: use generic posix ACL infrastructure
This contains some major refactoring for the create path so that inodes are created with the right mode to start with instead of fixing it up later. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/gfs2/acl.h')
-rw-r--r--fs/gfs2/acl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/acl.h b/fs/gfs2/acl.h
index 0da38dc7efec..301260c999ba 100644
--- a/fs/gfs2/acl.h
+++ b/fs/gfs2/acl.h
@@ -17,8 +17,6 @@
#define GFS2_ACL_MAX_ENTRIES 25
extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type);
-extern int gfs2_acl_create(struct gfs2_inode *dip, struct inode *inode);
-extern int gfs2_acl_chmod(struct gfs2_inode *ip, struct iattr *attr);
-extern const struct xattr_handler gfs2_xattr_system_handler;
+extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
#endif /* __ACL_DOT_H__ */