mnt: Turn on a debugging print
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Feb 2017 18:29:56 +0000 (13:29 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Feb 2017 18:29:56 +0000 (13:29 -0500)
I saw the error() at line 842, triggered by a guest/VM cloning a
conversation.  There are a few related failures with devmnt and cs.
Hopefully this will help us track them down.

For background, cs is involved in the NAT's bypass, due to the nettrans()
call.  Maybe that'll get changed too.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/mnt.c

index 52db491..7accc88 100644 (file)
@@ -835,7 +835,7 @@ void mountrpc(struct mnt *m, struct mntrpc *r)
                        cn = "?";
                        if (r->c != NULL && r->c->name != NULL)
                                cn = r->c->name->s;
-                       printd
+                       printk
                                ("mnt: proc %s %lu: mismatch from %s %s rep 0x%p tag %d fid %d T%d R%d rp %d\n",
                                 "current->text", "current->pid", sn, cn, r, r->request.tag,
                                 r->request.fid, r->request.type, r->reply.type, r->reply.tag);