patch-2.2.3 linux/drivers/block/genhd.c
Next file: linux/drivers/block/hd.c
Previous file: linux/arch/sparc64/defconfig
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Feb 24 16:27:53 1999
- Orig file:
v2.2.2/linux/drivers/block/genhd.c
- Orig date:
Tue Feb 23 15:21:32 1999
diff -u --recursive --new-file v2.2.2/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -879,7 +879,7 @@
res = 0;
for (blk = 0; blk < RDB_ALLOCATION_LIMIT; blk++) {
- if(!(bh = bread(dev,blk,get_ptable_blocksize(dev)))) {
+ if(!(bh = bread(dev,blk,512))) {
printk("Dev %s: unable to read RDB block %d\n",
kdevname(dev),blk);
goto rdb_done;
@@ -896,7 +896,7 @@
blk = htonl(rdb->rdb_PartitionList);
brelse(bh);
for (part = 1; blk > 0 && part <= 16; part++) {
- if (!(bh = bread(dev,blk, get_ptable_blocksize(dev)))) {
+ if (!(bh = bread(dev,blk, 512))) {
printk("Dev %s: unable to read partition block %d\n",
kdevname(dev),blk);
goto rdb_done;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)