From: Neil Brown <neilb@suse.de>
To: Fengguang Wu <fengguang.wu@gmail.com>
Cc: linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y
Date: Thu, 11 Jan 2007 14:59:07 +1100 [thread overview]
Message-ID: <17829.46603.14554.981639@notabene.brown> (raw)
In-Reply-To: message from Fengguang Wu on Wednesday January 10
On Wednesday January 10, fengguang.wu@gmail.com wrote:
>
> root ~# mount localhost:/suse /mnt
> [ 132.678204] svc: unknown version (3 for prog 100227, nfsd)
>
> I've confirmed that 2.6.20-rc2-mm1, 2.6.20-rc3-mm1, 2.6.19-rc6-mm1 all
> have this warning, while 2.6.17-2-amd64 is good.
Thanks. That helps a lot.
This patch should help too. Please let me know.
NeilBrown
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./fs/nfsd/nfssvc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff .prev/fs/nfsd/nfssvc.c ./fs/nfsd/nfssvc.c
--- .prev/fs/nfsd/nfssvc.c 2007-01-11 14:55:38.000000000 +1100
+++ ./fs/nfsd/nfssvc.c 2007-01-11 14:57:03.000000000 +1100
@@ -72,7 +72,7 @@ static struct svc_program nfsd_acl_progr
.pg_prog = NFS_ACL_PROGRAM,
.pg_nvers = NFSD_ACL_NRVERS,
.pg_vers = nfsd_acl_versions,
- .pg_name = "nfsd",
+ .pg_name = "nfsacl",
.pg_class = "nfsd",
.pg_stats = &nfsd_acl_svcstats,
.pg_authenticate = &svc_set_client,
@@ -121,13 +121,13 @@ int nfsd_vers(int vers, enum vers_op cha
break;
#if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)
if (vers < NFSD_ACL_NRVERS)
- nfsd_acl_version[vers] = nfsd_acl_version[vers];
+ nfsd_acl_versions[vers] = nfsd_acl_version[vers];
#endif
case NFSD_CLEAR:
nfsd_versions[vers] = NULL;
#if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)
if (vers < NFSD_ACL_NRVERS)
- nfsd_acl_version[vers] = NULL;
+ nfsd_acl_versions[vers] = NULL;
#endif
break;
case NFSD_TEST:
next prev parent reply other threads:[~2007-01-11 3:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070105024226.GA6076@mail.ustc.edu.cn>
2007-01-05 2:42 ` Fengguang Wu
2007-01-05 12:25 ` Trond Myklebust
[not found] ` <20070105124822.GA7901@mail.ustc.edu.cn>
2007-01-05 12:48 ` Fengguang Wu
2007-01-10 6:01 ` Neil Brown
[not found] ` <20070110141756.GA5572@mail.ustc.edu.cn>
2007-01-10 14:17 ` Fengguang Wu
2007-01-10 15:15 ` Arnaud Giersch
2007-01-11 3:59 ` Neil Brown [this message]
[not found] ` <20070111145309.GA6226@mail.ustc.edu.cn>
2007-01-11 14:53 ` Fengguang Wu
2007-01-11 22:04 ` Neil Brown
[not found] ` <20070112023251.GA6136@mail.ustc.edu.cn>
2007-01-12 2:32 ` Fengguang Wu
2007-01-12 19:43 ` Neil Brown
[not found] ` <20070113021320.GA6055@mail.ustc.edu.cn>
2007-01-13 2:13 ` Fengguang Wu
2007-01-14 22:32 ` Neil Brown
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=17829.46603.14554.981639@notabene.brown \
--to=neilb@suse.de \
--cc=fengguang.wu@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome