diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_xattr.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_xattr.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_xattr.c b/fs/xfs/linux-2.6/xfs_xattr.c index b4acb68fc9f7..964621fde6ed 100644 --- a/fs/xfs/linux-2.6/xfs_xattr.c +++ b/fs/xfs/linux-2.6/xfs_xattr.c | |||
@@ -64,7 +64,7 @@ static int | |||
64 | xfs_xattr_system_set(struct inode *inode, const char *name, | 64 | xfs_xattr_system_set(struct inode *inode, const char *name, |
65 | const void *value, size_t size, int flags) | 65 | const void *value, size_t size, int flags) |
66 | { | 66 | { |
67 | int error, acl; | 67 | int acl; |
68 | 68 | ||
69 | acl = xfs_decode_acl(name); | 69 | acl = xfs_decode_acl(name); |
70 | if (acl < 0) | 70 | if (acl < 0) |
@@ -75,10 +75,7 @@ xfs_xattr_system_set(struct inode *inode, const char *name, | |||
75 | if (!value) | 75 | if (!value) |
76 | return xfs_acl_vremove(inode, acl); | 76 | return xfs_acl_vremove(inode, acl); |
77 | 77 | ||
78 | error = xfs_acl_vset(inode, (void *)value, size, acl); | 78 | return xfs_acl_vset(inode, (void *)value, size, acl); |
79 | if (!error) | ||
80 | vn_revalidate(inode); | ||
81 | return error; | ||
82 | } | 79 | } |
83 | 80 | ||
84 | static struct xattr_handler xfs_xattr_system_handler = { | 81 | static struct xattr_handler xfs_xattr_system_handler = { |