patch-2.3.46 linux/fs/partitions/amiga.c
Next file: linux/fs/partitions/atari.c
Previous file: linux/fs/partitions/acorn.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Feb 16 15:42:06 2000
- Orig file:
v2.3.45/linux/fs/partitions/amiga.c
- Orig date:
Sun Aug 15 11:44:29 1999
diff -u --recursive --new-file v2.3.45/linux/fs/partitions/amiga.c linux/fs/partitions/amiga.c
@@ -54,7 +54,7 @@
for (blk = 0; blk < RDB_ALLOCATION_LIMIT; blk++) {
if(!(bh = bread(dev,blk,blocksize))) {
- printk("Dev %s: unable to read RDB block %d\n",
+ if (warn_no_part) printk("Dev %s: unable to read RDB block %d\n",
kdevname(dev),blk);
goto rdb_done;
}
@@ -80,7 +80,7 @@
brelse(bh);
for (part = 1; blk > 0 && part <= 16; part++) {
if (!(bh = bread(dev,blk,blocksize))) {
- printk("Dev %s: unable to read partition block %d\n",
+ if (warn_no_part) 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)