projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7751bdb
)
net/9p: Handle the server returned error properly
author
Aneesh Kumar K.V
<aneesh.kumar@linux.vnet.ibm.com>
Tue, 1 Jun 2010 09:26:17 +0000
(09:26 +0000)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Mon, 2 Aug 2010 19:25:08 +0000
(14:25 -0500)
We need to get the negative errno value in the kernel
even for dotl.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/client.c
patch
|
blob
|
blame
|
history
diff --git
a/net/9p/client.c
b/net/9p/client.c
index a80357483a479f49241f60b83fce1e84bc780846..4ff068e98f76901eb3cce7c059859f1c1cd00d30 100644
(file)
--- a/
net/9p/client.c
+++ b/
net/9p/client.c
@@
-460,7
+460,8
@@
static int p9_check_errors(struct p9_client *c, struct p9_req_t *req)
return err;
}
- if (p9_is_proto_dotu(c))
+ if (p9_is_proto_dotu(c) ||
+ p9_is_proto_dotl(c))
err = -ecode;
if (!err || !IS_ERR_VALUE(err))