Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] revert msdos partitioning fix

This change from March 3rd causes the partition parsing code to ignore
partitions which have a signature byte of zero. Turns out that more people
have such partitions than we expected, and their device numbering is coming up
wrong in post-2.6.11 kernels.

So revert the change while we think about the problem a bit more.

Cc: Andries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
b2411dd2 cccf2508

-5
-5
fs/partitions/msdos.c
··· 114 114 */ 115 115 for (i=0; i<4; i++, p++) { 116 116 u32 offs, size, next; 117 - 118 - if (SYS_IND(p) == 0) 119 - continue; 120 117 if (!NR_SECTS(p) || is_extended_partition(p)) 121 118 continue; 122 119 ··· 430 433 for (slot = 1 ; slot <= 4 ; slot++, p++) { 431 434 u32 start = START_SECT(p)*sector_size; 432 435 u32 size = NR_SECTS(p)*sector_size; 433 - if (SYS_IND(p) == 0) 434 - continue; 435 436 if (!size) 436 437 continue; 437 438 if (is_extended_partition(p)) {