]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 29 Nov 2012 06:50:59 +0000 (22:50 -0800)
commit75b3a6d762d42b43d5d6c19d119ce9eda9951152
tree1efce476324ef2d427f0091bcf5a6579d8c7469b
parent46fa32068785c2bb4e7f170a9db73331363d2eac
NFS: Map minor mismatch error to protocol not support error.

Orabug: 15929836
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>
(cherry picked from commit f25efd851cc8c0f63d74334bc784a437f4df8ee4)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
fs/nfs/nfs4proc.c