HomeFreeBSD

vfs: fix early termination of kern_getfsstat

Description

vfs: fix early termination of kern_getfsstat

The kernel would unlock already unlocked mutex if the buffer got filled up
before the mount list ended.

Reported by: pho
Fixes: r363069 ("vfs: depessimize getfsstat when only the count is requested")

Details

Provenance
mjgAuthored on
Parents
rS363071: vfs: fix trivial whitespace issues which don't interefere with blame
Branches
Unknown
Tags
Unknown