diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2007-07-11 23:14:46 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com> | 2007-07-14 22:14:01 +0200 |
commit | 1d6b5602381524c339af2c2fdfe42ad0a01464a4 (patch) | |
tree | 45c3ca8ad653dd2e55b88cd8d9d36502df604f4f /fs/9p/v9fs.c | |
parent | net/9p: change net/9p module name to 9pnet (diff) | |
download | linux-1d6b5602381524c339af2c2fdfe42ad0a01464a4.tar.xz linux-1d6b5602381524c339af2c2fdfe42ad0a01464a4.zip |
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>
Diffstat (limited to 'fs/9p/v9fs.c')
0 files changed, 0 insertions, 0 deletions