HomeFreeBSD

vfs_unregister: fix error handling

Description

vfs_unregister: fix error handling

Due to misplaced braces, an error from vfs_uninit() in the VFCF_SBDRY
case was ignored.

Reported by: Anton Rang <rang@acm.org>
Reviewed by: Anton Rang <rang@acm.org>, markj
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D34375

(cherry picked from commit 1517b8d5a7f58897200497811de1b18809c07d3e)

Details

Provenance
marvin.ma_dell.comAuthored on Feb 25 2022, 3:34 PM
vangyzenCommitted on Mar 3 2022, 2:20 PM
Reviewer
markj
Differential Revision
D34375: vfs_unregister: fix error handling
Parents
rG6a73d96ac4de: mmap map_at_zero test: handle W^X
Branches
Unknown
Tags
Unknown