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)
Mon, Oct 5, 1:14 AM
Unknown Object (File)
Sun, Oct 4, 7:32 PM
Unknown Object (File)
Sun, Oct 4, 7:34 AM
Unknown Object (File)
Sat, Oct 3, 9:15 PM
Unknown Object (File)
Sat, Oct 3, 11:19 AM
Unknown Object (File)
Thu, Sep 24, 6:30 AM
Unknown Object (File)
Wed, Sep 23, 8:29 AM
Unknown Object (File)
Thu, Sep 10, 1:33 PM
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