patch-2.3.47 linux/fs/adfs/inode.c
Next file: linux/fs/attr.c
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Wed Feb 16 20:23:47 2000
-  Orig file: 
v2.3.46/linux/fs/adfs/inode.c
-  Orig date: 
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.46/linux/fs/adfs/inode.c linux/fs/adfs/inode.c
@@ -334,10 +334,8 @@
 	if (error)
 		goto out;
 
-	if (ia_valid & ATTR_SIZE) {
-		inode->i_size = attr->ia_size;
+	if (ia_valid & ATTR_SIZE)
 		vmtruncate(inode, attr->ia_size);
-	}
 	if (ia_valid & ATTR_MTIME) {
 		inode->i_mtime = attr->ia_mtime;
 		adfs_unix2adfs_time(inode, attr->ia_mtime);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)