Skip to content
Commit 19445b99 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Cleanup - make rpc_new_task() call rpc_release_calldata on failure



Also have it return an ERR_PTR(-ENOMEM) instead of a null pointer.

Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ee5ebe85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment