patch-2.4.18 linux/fs/reiserfs/resize.c

Next file: linux/fs/reiserfs/stree.c
Previous file: linux/fs/reiserfs/procfs.c
Back to the patch index
Back to the overall index

diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/reiserfs/resize.c linux/fs/reiserfs/resize.c
@@ -39,7 +39,7 @@
 	}
 
 	/* check the device size */
-	bh = bread(s->s_dev, block_count_new - 1, s->s_blocksize);
+	bh = sb_bread(s, block_count_new - 1);
 	if (!bh) {
 		printk("reiserfs_resize: can\'t read last block\n");
 		return -EINVAL;

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