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)
commitfb8a5ba8114491467c4067ec0330e1c3dcc81d10
tree32372368a12658c367daab20202266b4fd27dd8d
parent468f86134ee515234afe5c5b3f39f266c50e61a5
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