]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net/9p: handle correctly interrupted 9P requests
authorLatchesar Ionkov <lucho@ionkov.net>
Sun, 5 Apr 2009 21:28:59 +0000 (16:28 -0500)
committerEric Van Hensbergen <ericvh@vTrogdor.(none)>
Sun, 5 Apr 2009 21:54:53 +0000 (16:54 -0500)
commit1bab88b2310998de18b32529a27ea835d164254a
treefed704a8b3b4ce93d8cd25462ccc9186dec84b7a
parent742b11a7ec60faa25d76c95c268041ab215c25ad
net/9p: handle correctly interrupted 9P requests

Currently the 9p code crashes when a operation is interrupted, i.e. for
example when the user presses ^C while reading from a file.

This patch fixes the code that is responsible for interruption and flushing
of 9P operations.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
include/net/9p/client.h
net/9p/client.c
net/9p/trans_fd.c
net/9p/trans_rdma.c
net/9p/trans_virtio.c