Merge to Fedora kernel-2.6.7-1.492
[linux-2.6.git] / fs / affs / inode.c
index 37aca8f..f94afc0 100644 (file)
@@ -249,7 +249,7 @@ affs_notify_change(struct dentry *dentry, struct iattr *attr)
                goto out;
        }
 
-       inode_setattr(inode, attr);
+       error = inode_setattr(inode, attr);
        if (!error && (attr->ia_valid & ATTR_MODE))
                mode_to_prot(inode);
 out: