commit | 1d6b5602381524c339af2c2fdfe42ad0a01464a4 | [log] [tgz] |
---|---|---|
author | Latchesar Ionkov <lucho@ionkov.net> | Wed Jul 11 15:14:46 2007 -0600 |
committer | Eric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com> | Sat Jul 14 15:14:01 2007 -0500 |
tree | 45c3ca8ad653dd2e55b88cd8d9d36502df604f4f | |
parent | e46662be7fddde3464bf208317542c2f8df13d0b [diff] |
net/9p: set error to EREMOTEIO if trans->write returns zero If trans->write returns 0, p9_write_work goes through the error path, but sets the error code to zero. This patch sets the error code to EREMOTEIO if trans->write returns zero value. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>