Commit b1519d04 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

fs/partitions/sun.c endianness annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1ccc9147
...@@ -95,8 +95,8 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev) ...@@ -95,8 +95,8 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev)
* So that old Linux-Sun partitions continue to work, * So that old Linux-Sun partitions continue to work,
* alow the VTOC to be used under the additional condition ... * alow the VTOC to be used under the additional condition ...
*/ */
use_vtoc = use_vtoc || !(label->vtoc.sanity | use_vtoc = use_vtoc || !(label->vtoc.sanity ||
label->vtoc.version | label->vtoc.nparts); label->vtoc.version || label->vtoc.nparts);
spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
for (i = 0; i < nparts; i++, p++) { for (i = 0; i < nparts; i++, p++) {
unsigned long st_sector; unsigned long st_sector;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment