2008-12-04 19:16:21

by Andy Adamson

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

On Thu, Dec 4, 2008 at 2:06 PM, Trond Myklebust
<[email protected]> wrote:
> On Thu, 2008-12-04 at 13:50 -0500, William A. (Andy) Adamson wrote:
>> fsinfo is a PUTFH and a GETATTR.
>>
>> v4.0 specific errors:
>> NFS4ERR_SERVERFAULT, NFS4ERR_FHEXPIRED, NFS4ERR_MOVED,
>> NFS4ERR_RESOURCE, NFS4ERR_WRONGSEC
>
> Should all be either handled or else mapped into generic errors by the
> call to nfs4_handle_exception in nfs4_do_fsinfo().
>
>> 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...
>
>> v4.1 adds all the session related errors.
>
> Those should be handled and/or mapped by the call to
> nfs4_handle_exception() in nfs4_do_fsinfo().


OK - Thanks.

-->Andy
>
> --
> Trond Myklebust
> Linux NFS client maintainer
>
> NetApp
> [email protected]
> http://www.netapp.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>