Due to misplaced braces, an error from vfs_uninit() in the VFCF_SBDRY
case was ignored.
Reported by: Anton Rang <rang@acm.org>
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential D34375
vfs_unregister: fix error handling vangyzen on Feb 25 2022, 3:41 PM. Authored by Tags None Referenced Files
Details Due to misplaced braces, an error from vfs_uninit() in the VFCF_SBDRY Reported by: Anton Rang <rang@acm.org>
Diff Detail
Event TimelineComment Actions Because of this bug, the nfs VFS module was incorrectly unloaded. However, the nfscl module still refused to unload, so the result was mostly harmless, meaning the kernel didn't panic. The worst effect was, NFS was no longer listed as a VFS, so no NFS mounts could be created until the next reboot. Amusingly, kldload failed with EOPNOTSUPP before and after the fix, so I had to use dtrace to see the difference. |