vn_printf(): Decode VI_TEXT_REF.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
a0c18fcde6
commit
2393dd146c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user