git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
partitions
/
msdos.c
diff --git
a/fs/partitions/msdos.c
b/fs/partitions/msdos.c
index
100fa75
..
584a27b
100644
(file)
--- a/
fs/partitions/msdos.c
+++ b/
fs/partitions/msdos.c
@@
-246,6
+246,9
@@
parse_bsd(struct parsed_partitions *state, struct block_device *bdev,
put_partition(state, state->next++, bsd_start, bsd_size);
}
put_dev_sector(sect);
put_partition(state, state->next++, bsd_start, bsd_size);
}
put_dev_sector(sect);
+ if (le16_to_cpu(l->d_npartitions) > max_partitions)
+ printk(" (ignored %d more)",
+ le16_to_cpu(l->d_npartitions) - max_partitions);
printk(" >\n");
}
#endif
printk(" >\n");
}
#endif
@@
-371,6
+374,7
@@
static struct {
{MINIX_PARTITION, parse_minix},
{UNIXWARE_PARTITION, parse_unixware},
{SOLARIS_X86_PARTITION, parse_solaris_x86},
{MINIX_PARTITION, parse_minix},
{UNIXWARE_PARTITION, parse_unixware},
{SOLARIS_X86_PARTITION, parse_solaris_x86},
+ {NEW_SOLARIS_X86_PARTITION, parse_solaris_x86},
{0, NULL},
};
{0, NULL},
};