patch-2.3.46 linux/fs/partitions/sgi.c

Next file: linux/fs/partitions/sun.c
Previous file: linux/fs/partitions/osf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/fs/partitions/sgi.c linux/fs/partitions/sgi.c
@@ -44,7 +44,7 @@
 	struct sgi_partition *p;
 
 	if(!(bh = bread(dev, 0, get_ptable_blocksize(dev)))) {
-		printk(KERN_WARNING "Dev %s: unable to read partition table\n", kdevname(dev));
+		if (warn_no_part) printk(KERN_WARNING "Dev %s: unable to read partition table\n", kdevname(dev));
 		return -1;
 	}
 	label = (struct sgi_disklabel *) bh->b_data;

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