HomeFreeBSD

vfs: add vfs_ref_from_vp

Description

vfs: add vfs_ref_from_vp

This generalizes what vop_stdgetwritemount used to be doing.

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

(cherry picked from commit a15f787adb4429b83fa911dcb60f69121aaee1ba)

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
rG4cb1b49b3c98: cache: assorted comment fixups
Branches
Unknown
Tags
Unknown