9p: make rpc code common and rework flush code
authorEric Van Hensbergen <ericvh@gmail.com>
Mon, 13 Oct 2008 23:45:21 +0000 (18:45 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 17 Oct 2008 16:04:42 +0000 (11:04 -0500)
commit91b8534fa8f5e01f249b1bf8df0a2540053549ad
treefde6b3b63dad229108106553106995889b4f0fa7
parent1b0a763bdd5ed467d0e03b88e045000c749303fb
9p: make rpc code common and rework flush code

This code moves the rpc function to the common client base,
reorganizes the flush code to be more simple and stable, and
makes the necessary adjustments to the underlying transports
to adapt to the new structure.

This reduces the overall amount of code duplication between the
transports and should make adding new transports more straightforward.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
include/net/9p/client.h
include/net/9p/transport.h
net/9p/client.c
net/9p/trans_fd.c
net/9p/trans_virtio.c