commit | 88dee0cc93adcd83db9d089c1163dc88edafd1c1 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Apr 06 22:34:35 2022 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Apr 07 16:20:00 2022 -0400 |
tree | 957540ea6caef6517e13590b59230bf549007acd | |
parent | 68b78dcdf93a845d68e34918d17c125924240584 [diff] |
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>