Skip to content
Commit 88dee0cc authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Ensure rpc_run_task() cannot fail in nfs_async_rename()



Ensure the call to rpc_run_task() cannot fail by preallocating the
rpc_task.

Fixes: 910ad386 ("NFS: Fix memory allocation in rpc_alloc_task()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 68b78dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment