Re: [PATCH 1/1] NFS: map nfs_probe_fsinfo errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trond Myklebust wrote:
> On Thu, 2008-12-04 at 15:31 -0500, William A. (Andy) Adamson wrote:
>> How about -EPROTONOSUPPORT?
> 
> That's definitely what you should return to the 'mount' command, but not
> to applications.

That should be possible if we deal with it differently in
nfs4_proc_sequence() and reclaimer().

Benny

> 
> Cheers
>   Trond
> 
>> On Thu, Dec 4, 2008 at 2:57 PM, Trond Myklebust
>> <Trond.Myklebust@xxxxxxxxxx> 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
>>> Trond.Myklebust@xxxxxxxxxx
>>> www.netapp.com
>>>

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux