The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=9997aedb8f2fc9e2460a577431b4861ff6d06fc6
commit 9997aedb8f2fc9e2460a577431b4861ff6d06fc6 Author: Mateusz Guzik <m...@freebsd.org> AuthorDate: 2021-01-01 03:14:11 +0000 Commit: Mateusz Guzik <m...@freebsd.org> CommitDate: 2021-01-01 03:14:11 +0000 ufs: use VNPASS when asserting on a vnode in ufs_read_pgcache --- sys/ufs/ufs/ufs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 135786312d49..3280e29f43a1 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -2947,7 +2947,7 @@ ufs_read_pgcache(struct vop_read_pgcache_args *ap) uio = ap->a_uio; vp = ap->a_vp; - MPASS((vp->v_irflag & VIRF_PGREAD) != 0); + VNPASS((vp->v_irflag & VIRF_PGREAD) != 0, vp); if (uio->uio_resid > ptoa(io_hold_cnt) || uio->uio_offset < 0 || (ap->a_ioflag & IO_DIRECT) != 0) _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"