diff options
-rw-r--r-- | fs/partitions/sun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/partitions/sun.c b/fs/partitions/sun.c index 794118da4ef3..c95e6a62c01d 100644 --- a/fs/partitions/sun.c +++ b/fs/partitions/sun.c | |||
@@ -95,8 +95,8 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev) | |||
95 | * So that old Linux-Sun partitions continue to work, | 95 | * So that old Linux-Sun partitions continue to work, |
96 | * alow the VTOC to be used under the additional condition ... | 96 | * alow the VTOC to be used under the additional condition ... |
97 | */ | 97 | */ |
98 | use_vtoc = use_vtoc || !(label->vtoc.sanity | | 98 | use_vtoc = use_vtoc || !(label->vtoc.sanity || |
99 | label->vtoc.version | label->vtoc.nparts); | 99 | label->vtoc.version || label->vtoc.nparts); |
100 | spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); | 100 | spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); |
101 | for (i = 0; i < nparts; i++, p++) { | 101 | for (i = 0; i < nparts; i++, p++) { |
102 | unsigned long st_sector; | 102 | unsigned long st_sector; |