diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 14:16:52 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-26 05:58:22 +0100 |
commit | e01580bf9e4d0e3bbaead44bd46cdbfe61957732 (patch) | |
tree | 1f853adc16d311670dbfba0cf6e2e7555d1d9b4b /fs/gfs2/acl.h | |
parent | jfs: use generic posix ACL infrastructure (diff) | |
download | linux-e01580bf9e4d0e3bbaead44bd46cdbfe61957732.tar.xz linux-e01580bf9e4d0e3bbaead44bd46cdbfe61957732.zip |
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.h | 4 |
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__ */ |