diff options
author | 2022-04-06 22:34:35 -0400 | |
---|---|---|
committer | 2022-04-07 16:20:00 -0400 | |
commit | 88dee0cc93adcd83db9d089c1163dc88edafd1c1 (patch) | |
tree | 957540ea6caef6517e13590b59230bf549007acd /block/bdev.c | |
parent | NFSv4/pnfs: Handle RPC allocation errors in nfs4_proc_layoutget (diff) | |
download | linux-88dee0cc93adcd83db9d089c1163dc88edafd1c1.tar.gz linux-88dee0cc93adcd83db9d089c1163dc88edafd1c1.tar.bz2 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 'block/bdev.c')
0 files changed, 0 insertions, 0 deletions