]> 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)
commita43b8317ccd91b1a569cc6d510e2e21a9eb7a6f9
tree04a05724108bfe084f3cb93a4f122d4dc4429c92
parentb8b9924df466cfc3b9de8f7ec0a7f8ec8cb6871c
SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDS

Clean up.

Commit 45db2439db59 ("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