summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLatchesar Ionkov <lucho@ionkov.net>2009-04-05 16:28:59 -0500
committerEric Van Hensbergen <ericvh@vTrogdor.(none)>2009-04-05 16:54:53 -0500
commit1bab88b2310998de18b32529a27ea835d164254a (patch)
treefed704a8b3b4ce93d8cd25462ccc9186dec84b7a /include/net
parent742b11a7ec60faa25d76c95c268041ab215c25ad (diff)
downloadop-kernel-dev-1bab88b2310998de18b32529a27ea835d164254a.zip
op-kernel-dev-1bab88b2310998de18b32529a27ea835d164254a.tar.gz
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/9p/client.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index 4012e07..e268122 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -98,7 +98,6 @@ enum p9_req_status_t {
struct p9_req_t {
int status;
int t_err;
- u16 flush_tag;
wait_queue_head_t *wq;
struct p9_fcall *tc;
struct p9_fcall *rc;
OpenPOWER on IntegriCloud