diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-04-07 04:34:35 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-04-07 22:20:00 +0200 |
commit | 88dee0cc93adcd83db9d089c1163dc88edafd1c1 (patch) | |
tree | 957540ea6caef6517e13590b59230bf549007acd /net/sunrpc | |
parent | NFSv4/pnfs: Handle RPC allocation errors in nfs4_proc_layoutget (diff) | |
download | linux-88dee0cc93adcd83db9d089c1163dc88edafd1c1.tar.xz linux-88dee0cc93adcd83db9d089c1163dc88edafd1c1.zip |
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: 910ad38697d9 ("NFS: Fix memory allocation in rpc_alloc_task()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions