You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
kpartx/sun.c | 2 --
|
|
|
|
1 file changed, 2 deletions(-)
|
|
|
|
|
|
|
|
Index: multipath-tools-130222/kpartx/sun.c
|
|
|
|
===================================================================
|
|
|
|
--- multipath-tools-130222.orig/kpartx/sun.c
|
|
|
|
+++ multipath-tools-130222/kpartx/sun.c
|
|
|
|
@@ -82,8 +82,6 @@ read_sun_pt(int fd, struct slice all, st
|
|
|
|
for(i=0, n=0; i<SUN_DISK_MAXPARTITIONS; i++) {
|
|
|
|
s = &l->partitions[i];
|
|
|
|
|
|
|
|
- if (s->num_sectors == 0)
|
|
|
|
- continue;
|
|
|
|
if (n < ns) {
|
|
|
|
sp[n].start = offset +
|
|
|
|
be32_to_cpu(s->start_cylinder) * be16_to_cpu(l->nsect) * be16_to_cpu(l->ntrks);
|