patch-2.1.54 linux/mm/filemap.c

Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/lib/vsprintf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.53/linux/mm/filemap.c linux/mm/filemap.c
@@ -892,8 +892,9 @@
 static inline int do_write_page(struct inode * inode, struct file * file,
 	const char * page, unsigned long offset)
 {
-	int old_fs, retval;
+	int retval;
 	unsigned long size;
+	unsigned long old_fs;
 
 	size = offset + PAGE_SIZE;
 	/* refuse to extend file size.. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov