Commit 1368c6ed authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] reiserfs_setattr retval fix

reiserfs() is also dropping inode_setattr() retvals on the floor.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b56dc578
......@@ -2695,7 +2695,7 @@ int reiserfs_setattr(struct dentry *dentry, struct iattr *attr) {
error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0;
}
if (!error)
inode_setattr(inode, attr) ;
error = inode_setattr(inode, attr) ;
}
......
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