2008-12-04 20:31:41

by Andy Adamson

[permalink] [raw]
Subject: Re: [PATCH 1/1] NFS: map nfs_probe_fsinfo errors

How about -EPROTONOSUPPORT?

On Thu, Dec 4, 2008 at 2:57 PM, Trond Myklebust
<[email protected]> wrote:
> On Thu, 2008-12-04 at 14:16 -0500, William A. (Andy) Adamson wrote:
>> >> and the one that I saw when I tried to mount a v4.0 server with a v4.1
>> >> client which caused a segfault.
>> >>
>> >> NFS4ERR_MINOR_VERS_MISMATCH.
>> >
>> > Should never happen on a v4.0 client...
>
> Hmm...
>
> That said, it wouldn't harm to add the MINOR_VERS_MISMATCH error to
> nfs_errtbl[]. I suppose the only thing we can do is to map it to EIO,
> but that would be better than letting it slip through the cracks...
>
> --
> Trond Myklebust
> Linux NFS client maintainer
>
> NetApp
> [email protected]
> http://www.netapp.com
>