HomeFreeBSD

vfs: employ vfs_ref_from_vp in statfs and fstatfs

Description

vfs: employ vfs_ref_from_vp in statfs and fstatfs

Avoids locking and unlocking the vnode.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D28695

(cherry picked from commit 81174cd8e24aa2bb27f6a8b41032abf59add479f)

Details

Provenance
mjgAuthored on Feb 15 2021, 10:08 PM
Reviewer
kib
Differential Revision
D28695: vfs: add vfs_ref_from_vp and use it in statfs
Parents
rGfb16013129a1: vfs: add vfs_ref_from_vp
Branches
Unknown
Tags
Unknown