Re: git: f8fa2f0e7577 - stable/13 - msdosfs: Fix mounting when the device sector size is >512B

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Mon, 21 Feb 2022 15:01:24 UTC
On 2/21/22 15:58, Mark Johnston wrote:
> The branch stable/13 has been updated by markj:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=f8fa2f0e7577c5f1cd4239cf73f5e11dcefe61d0
> 
> commit f8fa2f0e7577c5f1cd4239cf73f5e11dcefe61d0
> Author:     Mark Johnston <markj@FreeBSD.org>
> AuthorDate: 2022-02-14 14:41:32 +0000
> Commit:     Mark Johnston <markj@FreeBSD.org>
> CommitDate: 2022-02-21 14:57:54 +0000
> 
>      msdosfs: Fix mounting when the device sector size is >512B
>      
>      HugeSectors * BytesPerSec should be computed before converting
>      HugeSectors to a DEV_BSIZE-based count.
>      
>      Fixes:  ba2c98389b78 ("msdosfs: sanity check sector count from BPB")
>      Reviewed by:    kib
>      Sponsored by:   The FreeBSD Foundation
>      
>      (cherry picked from commit c7cd607a4e28233ab6679ee330c0a4836414bb0a)
> ---

Related work, prior art :-)
https://reviews.freebsd.org/D19245

--HPS