vn_printf(): Decode VI_TEXT_REF.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
9d0a6b83ca
commit
8076c4e7d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353928
@ -3832,8 +3832,10 @@ vn_printf(struct vnode *vp, const char *fmt, ...)
|
|||||||
strlcat(buf, "|VI_DOINGINACT", sizeof(buf));
|
strlcat(buf, "|VI_DOINGINACT", sizeof(buf));
|
||||||
if (vp->v_iflag & VI_OWEINACT)
|
if (vp->v_iflag & VI_OWEINACT)
|
||||||
strlcat(buf, "|VI_OWEINACT", sizeof(buf));
|
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 |
|
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) {
|
if (flags != 0) {
|
||||||
snprintf(buf2, sizeof(buf2), "|VI(0x%lx)", flags);
|
snprintf(buf2, sizeof(buf2), "|VI(0x%lx)", flags);
|
||||||
strlcat(buf, buf2, sizeof(buf));
|
strlcat(buf, buf2, sizeof(buf));
|
||||||
|
Loading…
Reference in New Issue
Block a user