projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324d003
)
SUNRPC: return proper errno from backchannel_rqst
author
Weston Andros Adamson
<dros@netapp.com>
Thu, 1 Nov 2012 15:21:53 +0000
(11:21 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 15:50:53 +0000
(11:50 -0400)
The one and only caller (in fs/nfs/nfs4client.c) uses the result
as an errno and would have interpreted an error as EPERM.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/backchannel_rqst.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/backchannel_rqst.c
b/net/sunrpc/backchannel_rqst.c
index 5a3d675d2f2f9f3971b4707474cc511ad328ac2a..a9c0bbccad6bfb787b4ff1630a1eb7a28918e634 100644
(file)
--- a/
net/sunrpc/backchannel_rqst.c
+++ b/
net/sunrpc/backchannel_rqst.c
@@
-172,7
+172,7
@@
out_free:
xprt_free_allocation(req);
dprintk("RPC: setup backchannel transport failed\n");
- return -
1
;
+ return -
ENOMEM
;
}
EXPORT_SYMBOL_GPL(xprt_setup_backchannel);