SUNRPC: return proper errno from backchannel_rqst
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- net/sunrpc/backchannel_rqst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/sunrpc/backchannel_rqst.c +1 -1
@@ -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);
Signature · 1 line
1.7.9.6 (Apple Git-31.1)