git: sys/vfs/msdosfs: Fix mounting when the device sector size is >512B

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Feb 19 09:47:34 PST 2022


commit 08e120530f425098d15b0861e92d67afcb80d220
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Feb 19 02:10:06 2022 +0900

    sys/vfs/msdosfs: Fix mounting when the device sector size is >512B
    
    HugeSectors * BytesPerSec should be computed before converting
    HugeSectors to a DEV_BSIZE-based count.
    
    taken-from FreeBSD c7cd607a4e28233ab6679ee330c0a4836414bb0a

Summary of changes:
 sys/vfs/msdosfs/msdosfs_vfsops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08e120530f425098d15b0861e92d67afcb80d220


-- 
DragonFly BSD source repository


More information about the Commits mailing list