mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
fs/partitions/sun.c endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1ccc9147f6
commit
b1519d047c
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev)
|
|||
* So that old Linux-Sun partitions continue to work,
|
||||
* alow the VTOC to be used under the additional condition ...
|
||||
*/
|
||||
use_vtoc = use_vtoc || !(label->vtoc.sanity |
|
||||
label->vtoc.version | label->vtoc.nparts);
|
||||
use_vtoc = use_vtoc || !(label->vtoc.sanity ||
|
||||
label->vtoc.version || label->vtoc.nparts);
|
||||
spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
|
||||
for (i = 0; i < nparts; i++, p++) {
|
||||
unsigned long st_sector;
|
||||
|
|
Loading…
Reference in a new issue