patch-2.3.47 linux/mm/filemap.c

Next file: linux/mm/memory.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/mm/filemap.c linux/mm/filemap.c
@@ -1945,8 +1945,6 @@
 			count -= status;
 			pos += status;
 			buf += status;
-			if (pos > inode->i_size)
-				inode->i_size = pos;
 		}
 unlock:
 		/* Mark it unlocked again and drop the page.. */

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