Skip to content
Snippets Groups Projects
Commit 1d6b5602 authored by Latchesar Ionkov's avatar Latchesar Ionkov Committed by Eric Van Hensbergen
Browse files

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: default avatarLatchesar Ionkov <lucho@ionkov.net>
parent e46662be
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment