HomeFreeBSD

vfs: add VNPASS macro and augment VNASSERT to print more about the assert

Description

vfs: add VNPASS macro and augment VNASSERT to print more about the assert

Sample out put now instead of mere VNASSERT failed:
VNASSERT failed: vp->v_holdcnt == 1234 not true at /usr/src/sys/kern/vfs_subr.c:3148 (vputx)

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

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D23396: vfs: add VNPASS macro and augment VNASSERT to print more about the assert
Parents
rS357236: Fix spelling of removable
Branches
Unknown
Tags
Unknown