diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-13 19:45:22 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 12:04:42 -0400 |
commit | 673d62cdaac6ffbce980a349d3174b3929ceb9e5 (patch) | |
tree | 2917ded31ef9b3ab004c3a5575537643b34269e9 /net/9p/trans_virtio.c | |
parent | ff683452f7bc52d7fd653cf5e67b1134555734c7 (diff) |
9p: apply common request code to trans_fd
Apply the now common p9_req_t structure to the fd transport.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_virtio.c')
-rw-r--r-- | net/9p/trans_virtio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 36bce45e4e44..e18de14c30d5 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c | |||
@@ -247,10 +247,7 @@ p9_virtio_rpc(struct p9_client *c, struct p9_fcall *tc, struct p9_fcall **rc) | |||
247 | } | 247 | } |
248 | #endif | 248 | #endif |
249 | 249 | ||
250 | if (n != P9_NOTAG && p9_idpool_check(n, c->tagpool)) | 250 | p9_free_req(c, req); |
251 | p9_idpool_put(n, c->tagpool); | ||
252 | |||
253 | req->status = REQ_STATUS_IDLE; | ||
254 | 251 | ||
255 | return 0; | 252 | return 0; |
256 | } | 253 | } |