提交 d24bab93 编写于 作者: W Weston Andros Adamson 提交者: Trond Myklebust

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: NWeston Andros Adamson <dros@netapp.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 324d003b
......@@ -172,7 +172,7 @@ int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs)
xprt_free_allocation(req);
dprintk("RPC: setup backchannel transport failed\n");
return -1;
return -ENOMEM;
}
EXPORT_SYMBOL_GPL(xprt_setup_backchannel);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册