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
F169806854: D34264.id102724.diff
Wed, Sep 2, 3:14 PM
Unknown Object (File)
Wed, Sep 2, 7:13 AM
Unknown Object (File)
Wed, Sep 2, 6:27 AM
Unknown Object (File)
Wed, Sep 2, 4:06 AM
Unknown Object (File)
Mon, Aug 31, 4:43 PM
Unknown Object (File)
Mon, Aug 31, 9:47 AM
Unknown Object (File)
Mon, Aug 31, 9:00 AM
Unknown Object (File)
Mon, Aug 31, 6:58 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