Commit 1acb757e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] affs_setattr() retval fix

affs is failing to propagate the inode_setattr() return value.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b1c56a9b
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment