svn commit: r354113 - stable/12/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sat Oct 26 08:37:29 UTC 2019
Author: kib
Date: Sat Oct 26 08:37:28 2019
New Revision: 354113
URL: https://svnweb.freebsd.org/changeset/base/354113
Log:
MFC r353928:
vn_printf(): Decode VI_TEXT_REF.
Modified:
stable/12/sys/kern/vfs_subr.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/kern/vfs_subr.c
==============================================================================
--- stable/12/sys/kern/vfs_subr.c Sat Oct 26 06:59:59 2019 (r354112)
+++ stable/12/sys/kern/vfs_subr.c Sat Oct 26 08:37:28 2019 (r354113)
@@ -3656,8 +3656,10 @@ vn_printf(struct vnode *vp, const char *fmt, ...)
strlcat(buf, "|VI_DOINGINACT", sizeof(buf));
if (vp->v_iflag & VI_OWEINACT)
strlcat(buf, "|VI_OWEINACT", sizeof(buf));
+ if (vp->v_iflag & VI_TEXT_REF)
+ strlcat(buf, "|VI_TEXT_REF", sizeof(buf));
flags = vp->v_iflag & ~(VI_MOUNT | VI_DOOMED | VI_FREE |
- VI_ACTIVE | VI_DOINGINACT | VI_OWEINACT);
+ VI_ACTIVE | VI_DOINGINACT | VI_OWEINACT | VI_TEXT_REF);
if (flags != 0) {
snprintf(buf2, sizeof(buf2), "|VI(0x%lx)", flags);
strlcat(buf, buf2, sizeof(buf));
More information about the svn-src-all
mailing list