Re: [NFS] Updated patch for the [2.4.x] NFS 'missing directory entry a.k.a. IRIX server' problem...

Trond Myklebust (trond.myklebust@fys.uio.no)
Wed, 28 Feb 2001 12:19:04 +0100 (CET)


>>>>> " " == H J Lu <hjl@valinux.com> writes:

> On Tue, Feb 27, 2001 at 03:04:32PM -0800, H . J . Lu wrote:
>> > entry->prev_cookie = entry->cookie;
>> > - p = xdr_decode_hyper(p, &entry->cookie);
>> > + p = xdr_decode_hyper(p, cookie);
>> > + entry->cookie = nfs_transform_cookie64(cookie);
>>
>> I don't understand this. As far as I can tell, "cookie" is not
>> initialized at all. Even if it is initialized, what does
>>
>> p = xdr_decode_hyper(p, cookie);
>>

> Trond, I think you missed

> p = xdr_decode_hyper(p, &cookie);
> ^

Oops. You're quite right. As far as I can see, this bug seems to have
crept in when I created the patch itself. My own source has the
correct dereference, hence I didn't see any errors.

I've also updated the copy on http://www.fys.uio.no/~trondmy/src/2.4.2

Thanks,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/