In "show lockedvnods" DDB command, use db_printf() rather than printf()
so that the results end up in the DDB output stream rather than the console output stream. This should likely also be done for the vprint() function it calls. MFC after: 3 months
This commit is contained in:
parent
100f241571
commit
c5f1beb02a
@ -2681,7 +2681,7 @@ DB_SHOW_COMMAND(lockedvnods, lockedvnodes)
|
||||
* state and dereference a nasty pointer. Not much to be done
|
||||
* about that.
|
||||
*/
|
||||
printf("Locked vnodes\n");
|
||||
db_printf("Locked vnodes\n");
|
||||
for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) {
|
||||
nmp = TAILQ_NEXT(mp, mnt_list);
|
||||
TAILQ_FOREACH(vp, &mp->mnt_nvnodelist, v_nmntvnodes) {
|
||||
|
Loading…
Reference in New Issue
Block a user