]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDS
authorChuck Lever <chuck.lever@oracle.com>
Tue, 12 May 2020 21:13:44 +0000 (17:13 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 11 Jun 2020 17:33:48 +0000 (13:33 -0400)
commit384139a6f16be71effbb9c927e853c10ae734efe
tree04a05724108bfe084f3cb93a4f122d4dc4429c92
parent1474dd3b36b2af66c69e522779ab6c9014ad8aad
SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDS

Clean up.

Commit c04f0e0ce679 ("NFS/NFSD/SUNRPC: replace generic creds with
'struct cred'.") made rpc_call_null_helper() set RPC_TASK_NULLCREDS
unconditionally. Therefore there's no need for
rpc_call_null_helper()'s call sites to set RPC_TASK_NULLCREDS.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c