]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFS: Map minor mismatch error to protocol not support error.
authorSteve Dickson <steved@redhat.com>
Wed, 6 Jun 2012 18:12:07 +0000 (14:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Jun 2012 18:32:40 +0000 (14:32 -0400)
commitf25efd851cc8c0f63d74334bc784a437f4df8ee4
treefc3c0f010771cc7b3a1a7dca46ac41b187816627
parent9bce008bae8b57bc7b007bcc2071d1247a527120
NFS: Map minor mismatch error to protocol not support error.

Sservers that only have NFSv4.1 support the
NFS4ERR_MINOR_VERS_MISMATCH error is return on
v4.0 mounts. Mapping that error to EPROTONOSUPPORT
will cause the mount to back off to v3 instead of
failing.

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c