virtio-9p: Print the pdu details on return
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
This commit is contained in:
parent
353ac78d49
commit
3979251518
@ -596,7 +596,10 @@ static V9fsPDU *alloc_pdu(V9fsState *s)
|
||||
static void free_pdu(V9fsState *s, V9fsPDU *pdu)
|
||||
{
|
||||
if (pdu) {
|
||||
QLIST_INSERT_HEAD(&s->free_list, pdu, next);
|
||||
if (debug_9p_pdu) {
|
||||
pprint_pdu(pdu);
|
||||
}
|
||||
QLIST_INSERT_HEAD(&s->free_list, pdu, next);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user