]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Change initial mount authflavor only when server returns NFS4ERR_WRONGSEC
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 7 Apr 2011 20:02:20 +0000 (16:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 7 Apr 2011 20:19:40 +0000 (13:19 -0700)
commit0b5807fcc092378ffb2c100c3af7470fdf65d2bc
treeb935bde3f61965a8e0810f9d12281b97b2376351
parent3dd27dc439ff3b0276ed9acbca338225f6eeb367
NFS: Change initial mount authflavor only when server returns NFS4ERR_WRONGSEC

When attempting an initial mount, we should only attempt other
authflavors if AUTH_UNIX receives a NFS4ERR_WRONGSEC error.
This allows other errors to be passed back to userspace programs.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c