]> git.itanic.dy.fi Git - linux-stable/commit
Revert "SUNRPC: Remove unreachable error condition"
authorDan Aloni <dan.aloni@vastdata.com>
Thu, 8 Sep 2022 14:08:51 +0000 (17:08 +0300)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Sep 2022 15:11:23 +0000 (11:11 -0400)
commit13bd9014180425f5a35eaf3735971d582c299292
tree4620209504bea191779352a03ce0fcde0080a45b
parentd7a5118635e725d195843bda80cc5c964d93ef31
Revert "SUNRPC: Remove unreachable error condition"

This reverts commit efe57fd58e1cb77f9186152ee12a8aa4ae3348e0.

The assumption that it is impossible to return an ERR pointer from
rpc_run_task() no longer holds due to commit 25cf32ad5dba ("SUNRPC:
Handle allocation failure in rpc_new_task()").

Fixes: 25cf32ad5dba ('SUNRPC: Handle allocation failure in rpc_new_task()')
Fixes: efe57fd58e1c ('SUNRPC: Remove unreachable error condition')
Signed-off-by: Dan Aloni <dan.aloni@vastdata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c