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

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

diff -u --recursive --new-file v2.3.45/linux/fs/partitions/sun.c linux/fs/partitions/sun.c
@@ -48,7 +48,7 @@
 	unsigned long spc;
 
 	if(!(bh = bread(dev, 0, get_ptable_blocksize(dev)))) {
-		printk(KERN_WARNING "Dev %s: unable to read partition table\n",
+		if (warn_no_part) printk(KERN_WARNING "Dev %s: unable to read partition table\n",
 		       kdevname(dev));
 		return -1;
 	}

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