aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-03 11:30:30 +1100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-12-19 13:52:45 -0500
commita68a72e135ef55bce136a0b604413fd6b0f6d3fc (patch)
tree0cd2c15d6737979c1405355291684b9020cc6922 /fs/nfs/inode.c
parentNFS/SUNRPC: don't lookup machine credential until rpcauth_bindcred(). (diff)
downloadlinux-dev-a68a72e135ef55bce136a0b604413fd6b0f6d3fc.tar.xz
linux-dev-a68a72e135ef55bce136a0b604413fd6b0f6d3fc.zip
SUNRPC: introduce RPC_TASK_NULLCREDS to request auth_none
In almost all cases the credential stored in rpc_message.rpc_cred is a "generic" credential. One of the two expections is when an AUTH_NULL credential is used such as for RPC ping requests. To improve consistency, don't pass an explicit credential in these cases, but instead pass NULL and set a task flag, similar to RPC_TASK_ROOTCREDS, which requests that NULL credentials be used by default. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions