Page MenuHomeFreeBSD

msdosfs: Fix mounting when the device sector size is >512B
ClosedPublic

Authored by markj on Feb 13 2022, 11:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 11, 5:17 PM
Unknown Object (File)
Mon, Dec 30, 4:43 PM
Unknown Object (File)
Sun, Dec 29, 2:05 PM
Unknown Object (File)
Sat, Dec 28, 2:03 PM
Unknown Object (File)
Fri, Dec 27, 2:57 PM
Unknown Object (File)
Dec 21 2024, 10:41 PM
Unknown Object (File)
Dec 21 2024, 8:00 PM
Unknown Object (File)
Dec 4 2024, 3:45 AM
Subscribers

Details

Summary

HugeSectors * BytesPerSec should be computed before converting
HugeSectors to a DEV_BSIZE-based count.

Fixes: ba2c98389b78 ("msdosfs: sanity check sector count from BPB")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable