diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-11-01 11:21:53 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-01 11:50:53 -0400 |
commit | d24bab93e42b1f90d89c86b3edbb81ec34bb9474 (patch) | |
tree | 84a7243c6e64367bb29384e7ea480fe0e6dab2b9 /net | |
parent | 324d003b0cd82151adbaecefef57b73f7959a469 (diff) | |
download | linux-3.10-d24bab93e42b1f90d89c86b3edbb81ec34bb9474.tar.gz linux-3.10-d24bab93e42b1f90d89c86b3edbb81ec34bb9474.tar.bz2 linux-3.10-d24bab93e42b1f90d89c86b3edbb81ec34bb9474.zip |
SUNRPC: return proper errno from backchannel_rqst
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/backchannel_rqst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c index 5a3d675d2f2..a9c0bbccad6 100644 --- 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); |