Author: kib
Date: Wed Oct 23 15:51:26 2019
New Revision: 353928
URL: https://svnweb.freebsd.org/changeset/base/353928

Log:
  vn_printf(): Decode VI_TEXT_REF.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c    Wed Oct 23 14:33:49 2019        (r353927)
+++ head/sys/kern/vfs_subr.c    Wed Oct 23 15:51:26 2019        (r353928)
@@ -3832,8 +3832,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));
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to