diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-10-02 13:00:00 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-12-03 12:47:35 +0100 |
commit | 479c427dd60fe1aadbbf2e6cbf2f84942baeb210 (patch) | |
tree | 0f51cf8e107d599c2e5c3b63bcdb2b17243dc7c4 /fs/gfs2/xattr.h | |
parent | GFS2: Use gfs2_set_mode() instead of munge_mode() (diff) | |
download | linux-479c427dd60fe1aadbbf2e6cbf2f84942baeb210.tar.xz linux-479c427dd60fe1aadbbf2e6cbf2f84942baeb210.zip |
GFS2: Clean up ACLs
To prepare for support for caching of ACLs, this cleans up the GFS2
ACL support by pushing the xattr code back into xattr.c and changing
the acl_get function into one which only returns ACLs so that we
can drop the caching function into it shortly.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/xattr.h')
-rw-r--r-- | fs/gfs2/xattr.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/gfs2/xattr.h b/fs/gfs2/xattr.h index cbdfd7743733..8d6ae5813c4d 100644 --- a/fs/gfs2/xattr.h +++ b/fs/gfs2/xattr.h @@ -62,11 +62,7 @@ extern int gfs2_ea_dealloc(struct gfs2_inode *ip); /* Exported to acl.c */ -extern int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, - struct gfs2_ea_location *el); -extern int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, - char *data, size_t size); -extern int gfs2_ea_acl_chmod(struct gfs2_inode *ip, struct gfs2_ea_location *el, - struct iattr *attr, char *data); +extern int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data); +extern int gfs2_xattr_acl_chmod(struct gfs2_inode *ip, struct iattr *attr, char *data); #endif /* __EATTR_DOT_H__ */ |