[pnfs] sequence xdr fix

Benny Halevy bhalevy at panasas.com
Thu Oct 4 00:13:49 EDT 2007


dean hildebrand wrote:
>>> @@ -198,7 +197,7 @@ #define NFS4_enc_readlink_sz        (compound_e
>>>  #define NFS4_dec_readlink_sz   (compound_decode_hdr_maxsz + \
>>>                                 decode_sequence_maxsz + \
>>>                                 decode_putfh_maxsz + \
>>> -                               op_decode_hdr_maxsz)
>>> +                               op_decode_hdr_maxsz + 1)
>> Yeah... Is this this for the link string length?
> 
> Yes, it seems that it was out of date.  The function was just using a
> hardcoded numeric value.
> 
> Dean

Agreed.  So it should better be committed as a separate patch as it fixes a different problem.

Benny


More information about the pNFS mailing list