]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
9P: fix test at the end of p9_write_work()
authorSimon Derr <simon.derr@bull.net>
Mon, 17 Sep 2012 13:16:29 +0000 (15:16 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 17 Sep 2012 19:54:11 +0000 (14:54 -0500)
commit1957b3a86f8eb5ceab32e3aae99e2822258aa530
tree111a02cd46b43a94b46ef144cb74ef321658197f
parent0462194d358c2e040282d4d1a4fd1aab84417e42
9P: fix test at the end of p9_write_work()

At the end of p9_write_work() we want to test if there is still data to send.
This means:
- either the current request still has data to send (wsize != 0)
- or there are requests in the unsent queue

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