patch-2.4.18 linux/fs/cramfs/inode.c
Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/psdev.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Jan 23 20:15:01 2002
-  Orig file: 
linux.orig/fs/cramfs/inode.c
-  Orig date: 
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -153,7 +153,7 @@
 
 		bh = NULL;
 		if (blocknr + i < devsize) {
-			bh = getblk(sb->s_dev, blocknr + i, PAGE_CACHE_SIZE);
+			bh = sb_getblk(sb, blocknr + i);
 			if (!buffer_uptodate(bh))
 				read_array[unread++] = bh;
 		}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)