]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Handle NFS4ERR_WRONGSEC outside of nfs4_handle_exception()
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 18 Apr 2011 20:52:25 +0000 (16:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 18 Apr 2011 21:06:00 +0000 (17:06 -0400)
commit5ee3cf8eb56f5acee9f980048a1ec0f03a61ccec
tree32372368a12658c367daab20202266b4fd27dd8d
parent1f003020b66ad183ccaa3fd36336b25483717ce9
NFSv4: Handle NFS4ERR_WRONGSEC outside of nfs4_handle_exception()

I only want to try other secflavors during an initial mount if
NFS4ERR_WRONGSEC is returned.  nfs4_handle_exception() could
potentially map other errors to EPERM, so we should handle this
error specially for correctness.

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