Messages in this thread Patch in this message |  | | Subject | Re: [BUG] Symlinks broken on 2.4.10-ac[3-4] nfs | From | Trond Myklebust <> | Date | 04 Oct 2001 13:02:14 +0200 |
| |
It's a known bug in the 2.4.10 NFS server code. The following patch fixes it...
Cheers, Trond
diff -u --recursive --new-file linux-2.4.10/fs/nfsd/nfs3xdr.c linux-2.4.10-symlinks/fs/nfsd/nfs3xdr.c --- linux-2.4.10/fs/nfsd/nfs3xdr.c Mon Sep 24 00:33:20 2001 +++ linux-2.4.10-symlinks/fs/nfsd/nfs3xdr.c Thu Oct 4 12:59:49 2001 @@ -99,7 +99,7 @@ char *name; int i; - if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS3_MAXPATHLEN)) != NULL) { + if ((p = xdr_decode_string(p, namp, lenp, NFS3_MAXPATHLEN)) != NULL) { for (i = 0, name = *namp; i < *lenp; i++, name++) { if (*name == '\0') return NULL; - 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/
|  |