]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/9p/trans_virtio.c
9p: apply common request code to trans_fd
[linux-2.6-omap-h63xx.git] / net / 9p / trans_virtio.c
index 36bce45e4e440f32b4937cfc0ca149192180113e..e18de14c30d521b9d27b0b7752bd28917b3bd29a 100644 (file)
@@ -247,10 +247,7 @@ p9_virtio_rpc(struct p9_client *c, struct p9_fcall *tc, struct p9_fcall **rc)
        }
 #endif
 
-       if (n != P9_NOTAG && p9_idpool_check(n, c->tagpool))
-               p9_idpool_put(n, c->tagpool);
-
-       req->status = REQ_STATUS_IDLE;
+       p9_free_req(c, req);
 
        return 0;
 }