Message ID | 1379705716-16307-1-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index f6e4bc8..b60cc5f 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -1511,6 +1511,8 @@ static int fuse_setxattr(struct dentry *entry, const char *name, fc->no_setxattr = 1; err = -EOPNOTSUPP; } + if (!err) + fuse_invalidate_attr(inode); return err; } @@ -1640,6 +1642,8 @@ static int fuse_removexattr(struct dentry *entry, const char *name) fc->no_removexattr = 1; err = -EOPNOTSUPP; } + if (!err) + fuse_invalidate_attr(inode); return err; }