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

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
rGa15f787adb44: vfs: add vfs_ref_from_vp
Branches
Unknown
Tags
Unknown