Messages in this thread Patch in this message | | | Date | Fri, 28 May 1999 12:05:07 +0200 (CEST) | Subject | Re: Possible NFS client 2.2.9 kernel bug | From | Trond Myklebust <> |
| |
Rats. A slight '2am code correction factor' managed to sneak its way in to the patch I sent you last night. Eof is of course coded in a 32bit unsigned, so the correct patch is as appended.
Cheers, Trond
--- fs/nfs/nfs2xdr.c-orig Sat Mar 6 23:21:13 1999 +++ fs/nfs/nfs2xdr.c Fri May 28 02:10:20 1999 @@ -371,7 +371,7 @@ p = xdr_encode_fhandle(p, args->fh); *p++ = htonl(args->cookie); - *p++ = htonl(bufsiz); /* see above */ + *p++ = htonl(bufsiz-4); /* see above */ req->rq_slen = xdr_adjust_iovec(req->rq_svec, p); /* set up reply iovec */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |