patch-1.3.96 linux/fs/fat/buffer.c

Next file: linux/fs/fat/cache.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.95/linux/fs/fat/buffer.c linux/fs/fat/buffer.c
@@ -16,9 +16,11 @@
 {
 	struct buffer_head *ret = NULL;
 	if (sb->s_blocksize == 512){
-		ret = bread (sb->s_dev,block,512);
+/*		ret = bread (sb->s_dev,block,512); */
+		ret = breada (sb->s_dev,block,512,0,18*1024); 
 	}else{
-		struct buffer_head *real = bread (sb->s_dev,block>>1,1024);
+/*		struct buffer_head *real = bread (sb->s_dev,block>>1,1024); */
+		struct buffer_head *real = breada (sb->s_dev,block>>1,1024,0,18*1024); 
 		if (real != NULL){
 			ret = (struct buffer_head *)kmalloc (sizeof(struct buffer_head)
 				,GFP_KERNEL);

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