]> git.baikalelectronics.ru Git - kernel.git/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)
commit0ba12ebf7c0f0b2348ce116e20a1e58c9877b5f0
tree4620209504bea191779352a03ce0fcde0080a45b
parentf8a56f8f70d13561329c71aead75f66973b174de
Revert "SUNRPC: Remove unreachable error condition"

This reverts commit 079b1b1bf67d57d3af767492ba7684e4bd2eb5c2.

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

Fixes: 4c22bccac1fd ('SUNRPC: Handle allocation failure in rpc_new_task()')
Fixes: 079b1b1bf67d ('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