]> git.baikalelectronics.ru Git - kernel.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)
commitd617d9d8853a4b6425d63381ea88db6f8cda85ad
treefed704a8b3b4ce93d8cd25462ccc9186dec84b7a
parentc690086fc570517dfeb1d0b3baf2064f22685761
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