HomeFreeBSD

vfs: Simplify vrefact()

Description

vfs: Simplify vrefact()

refcount_acquire() returns the old value, just use that. No functional
change intended.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43255

(cherry picked from commit 27f4eda3ddce4009a0ec9be68f474fe3be38933f)

Details

Provenance
markjAuthored on Jan 4 2024, 1:11 PM
Reviewer
kib
Differential Revision
D43255: vfs: Simplify vrefact()
Parents
rGb8233245b8d0: stats: Check for errors from copyout()
Branches
Unknown
Tags
Unknown