9p: eliminate callback complexity
authorEric Van Hensbergen <ericvh@gmail.com>
Mon, 13 Oct 2008 23:45:23 +0000 (18:45 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 17 Oct 2008 16:04:41 +0000 (11:04 -0500)
commit044c7768841f1ef39f951972d3c1e6537a535030
treedaf783f7b345fe34fb1c9ee5b921c111deadc143
parent21c003687e2d1c589cf177a3ba17fd439af94850
9p: eliminate callback complexity

The current trans_fd rpc mechanisms use a dynamic callback mechanism which
introduces a lot of complexity which only accomodates a single special case.
This patch removes much of that complexity in favor of a simple exception
mechanism to deal with flushes.

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