blob: 1cf555f1f60b4553938c1ceca7c39c52967a167a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
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);
|