[XFS] Remove vn_revalidate calls in xfs.
[deliverable/linux.git] / fs / xfs / linux-2.6 / xfs_xattr.c
index b4acb68fc9f793d3b54bab869425b26d6106cdcb..964621fde6ed849936d8aea60e816d8dd0fea964 100644 (file)
@@ -64,7 +64,7 @@ static int
 xfs_xattr_system_set(struct inode *inode, const char *name,
                const void *value, size_t size, int flags)
 {
-       int error, acl;
+       int acl;
 
        acl = xfs_decode_acl(name);
        if (acl < 0)
@@ -75,10 +75,7 @@ xfs_xattr_system_set(struct inode *inode, const char *name,
        if (!value)
                return xfs_acl_vremove(inode, acl);
 
-       error = xfs_acl_vset(inode, (void *)value, size, acl);
-       if (!error)
-               vn_revalidate(inode);
-       return error;
+       return xfs_acl_vset(inode, (void *)value, size, acl);
 }
 
 static struct xattr_handler xfs_xattr_system_handler = {
This page took 0.038612 seconds and 5 git commands to generate.