diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2002-09-18 20:42:04 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2002-09-18 20:42:04 +0000 |
| commit | 86ed6d45ac981df24ef05bed655c7a8c213ff35f (patch) | |
| tree | f0e827f562fb4c2d3c293425604e0245216e83ae /sys/kern | |
| parent | 219c875a460f388a7aeec1b7d39efb4d61917219 (diff) | |
Notes
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/vfs_subr.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 933a17f5704d..2e7745564619 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2617,9 +2617,9 @@ vprint(label, vp) printf("%s: %p: ", label, (void *)vp); else printf("%p: ", (void *)vp); - printf("type %s, usecount %d, writecount %d, refcount %d,", - typename[vp->v_type], vp->v_usecount, vp->v_writecount, - vp->v_holdcnt); + printf("tag %s, type %s, usecount %d, writecount %d, refcount %d,", + vp->v_tag, typename[vp->v_type], vp->v_usecount, + vp->v_writecount, vp->v_holdcnt); buf[0] = '\0'; if (vp->v_vflag & VV_ROOT) strcat(buf, "|VV_ROOT"); @@ -2640,11 +2640,11 @@ vprint(label, vp) if (vp->v_vflag & VV_OBJBUF) strcat(buf, "|VV_OBJBUF"); if (buf[0] != '\0') - printf(" flags (%s)", &buf[1]); - if (vp->v_data == NULL) { - printf("\n"); - } else { - printf("\n\t"); + printf(" flags (%s),", &buf[1]); + lockmgr_printinfo(&vp->v_lock); + printf("\n"); + if (vp->v_data != NULL) { + printf("\t"); VOP_PRINT(vp); } } |
