CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2020/08/09 23:18:46

Modified files:
        sys/msdosfs    : msdosfs_vfsops.c 

Log message:
consistently return EINVAL on invalid BPB

reverts changes from msdosfs_vfsops.c rev 1.7

Prompted by a patch from John Carmack to add an an error path when exFAT
is detected on mount to give a more helpful error message.
Returning EINVAL in the existing sanity checks will make mount_msdos(8)
print "not an MSDOS filesystem" when attempting to mount exFAT and
matches historic and documented behaviour.

ok kn@

Reply via email to