patch-1.3.21 linux/fs/buffer.c

Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/fs/buffer.c linux/fs/buffer.c
@@ -1171,6 +1171,7 @@
 	return address;
 }
 
+#if 0
 /*
  * bwrite_page writes a page out to the buffer cache and/or the physical device.
  * It's used for mmap writes (the same way bread_page() is used for mmap reads).
@@ -1192,9 +1193,10 @@
 			mark_buffer_dirty(bh[i], 0);
 			brelse(bh[i]);
 		} else
-			memset((void *) address, 0, size);
+			memset((void *) address, 0, size); /* ???!?!! */
 	}	
 }
+#endif
 
 /*
  * Try to increase the number of buffers available: the size argument

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this