NFSv4: Don't clear the machine cred when client establish returns EACCES
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 19:37:04 +0000 (15:37 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 19:37:04 +0000 (15:37 -0400)
commit845cbceb22c67030df76552892ad4935669bf2e5
tree228d2e9683d2ee558b93892098050c19b1c22c3d
parentea33e6c3e79d23ef693b7ed3171ef90dddfbfc15
NFSv4: Don't clear the machine cred when client establish returns EACCES

The expected behaviour is that the client will decide at mount time
whether or not to use a krb5i machine cred, or AUTH_NULL.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Bryan Schumaker <bjschuma@netapp.com>
fs/nfs/nfs4state.c