summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-10-02 13:00:00 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2009-12-03 12:47:35 +0100
commit479c427dd60fe1aadbbf2e6cbf2f84942baeb210 (patch)
tree0f51cf8e107d599c2e5c3b63bcdb2b17243dc7c4 /fs/gfs2/inode.c
parentGFS2: Use gfs2_set_mode() instead of munge_mode() (diff)
downloadlinux-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/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index fb15d3b1f409..6380cd9314b0 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -871,7 +871,7 @@ struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
if (error)
goto fail_gunlock2;
- error = gfs2_acl_create(dip, GFS2_I(inode));
+ error = gfs2_acl_create(dip, inode);
if (error)
goto fail_gunlock2;