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

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

diff -u --recursive --new-file v2.3.45/linux/fs/partitions/msdos.c linux/fs/partitions/msdos.c
@@ -353,7 +353,7 @@
 read_mbr:
 #endif
 	if (!(bh = bread(dev,0,get_ptable_blocksize(dev)))) {
-		printk(" unable to read partition table\n");
+		if (warn_no_part) printk(" unable to read partition table\n");
 		return -1;
 	}
 	data = bh->b_data;

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