diff options
author | 2020-08-10 05:18:46 +0000 | |
---|---|---|
committer | 2020-08-10 05:18:46 +0000 | |
commit | c34741d6f3a9c6b64e252c1213e459bfafb65565 (patch) | |
tree | 678404e154093e1fd2879b97927b5f943bf067e8 /gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/cpplint.py | |
parent | Remove the acpicpu_sc array and instead locate acpicpu instances using (diff) | |
download | wireguard-openbsd-c34741d6f3a9c6b64e252c1213e459bfafb65565.tar.xz wireguard-openbsd-c34741d6f3a9c6b64e252c1213e459bfafb65565.zip |
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@
Diffstat (limited to 'gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/cpplint.py')
0 files changed, 0 insertions, 0 deletions