Page MenuHomeFreeBSD

efipart_strategy is using wrong offset with >512B sectors
ClosedPublic

Authored by tsoome on Oct 31 2017, 11:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 8:19 PM
Unknown Object (File)
Mar 21 2024, 12:56 PM
Unknown Object (File)
Jan 5 2024, 6:46 PM
Unknown Object (File)
Jan 1 2024, 10:53 AM
Unknown Object (File)
Dec 20 2023, 7:55 AM
Unknown Object (File)
Dec 11 2023, 10:47 PM
Unknown Object (File)
Oct 19 2023, 11:51 PM
Unknown Object (File)
Aug 9 2023, 11:49 PM
Subscribers
None

Details

Summary

The strategy() calls are assuming 512B sectors, so we need to adjust the
offset accordingly.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp added inline comments.
sys/boot/efi/libefi/efipart.c
880 ↗(On Diff #34502)

why shift and not offset?

This revision is now accepted and ready to land.Oct 31 2017, 3:11 PM
This revision now requires review to proceed.Oct 31 2017, 8:22 PM
This revision is now accepted and ready to land.Oct 31 2017, 8:29 PM
This revision was automatically updated to reflect the committed changes.