From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Nicolas Mailhot <Nicolas.Mailhot@one2team.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] Symlinks broken on 2.4.10-ac[3-4] nfs
Date: 04 Oct 2001 13:02:14 +0200 [thread overview]
Message-ID: <shshetfvfbd.fsf@charged.uio.no> (raw)
In-Reply-To: <20011004115236.A9373@ulysse.olympe.o2t>
In-Reply-To: Nicolas Mailhot's message of "Thu, 4 Oct 2001 11:52:36 +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;
prev parent reply other threads:[~2001-10-04 11:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-04 9:52 [BUG] Symlinks broken on 2.4.10-ac[3-4] nfs Nicolas Mailhot
2001-10-04 10:15 ` 2.4.11-pre2-xfs Andrey Nekrasov
2001-10-04 14:01 ` 2.4.11-pre2-xfs Steve Lord
2001-10-04 14:39 ` 2.4.11-pre2-xfs Keith Owens
2001-10-04 22:22 ` 2.4.11-pre2-xfs Andrey Nekrasov
2001-10-05 14:20 ` 2.4.11-pre2-xfs Steve Lord
2001-10-05 17:32 ` 2.4.11-pre2-xfs Andrey Nekrasov
2001-10-04 20:51 ` 2.4.11-pre2-xfs Eric Sandeen
2001-10-04 11:02 ` Trond Myklebust [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=shshetfvfbd.fsf@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=Nicolas.Mailhot@one2team.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.