patch-2.4.13 linux/fs/attr.c

Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/video/virgefb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/fs/attr.c linux/fs/attr.c
@@ -137,7 +137,7 @@
 			    (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid))
 				error = DQUOT_TRANSFER(inode, attr) ? -EDQUOT : 0;
 			if (!error)
-				inode_setattr(inode, attr);
+				error = inode_setattr(inode, attr);
 		}
 	}
 	unlock_kernel();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)