LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y
Date: Sat, 13 Jan 2007 10:13:20 +0800	[thread overview]
Message-ID: <368654358.17532@ustc.edu.cn> (raw)
Message-ID: <20070113021320.GA6055@mail.ustc.edu.cn> (raw)
In-Reply-To: <17831.58571.460279.128732@notabene.brown>

On Sat, Jan 13, 2007 at 06:43:07AM +1100, Neil Brown wrote:
> 
> Ok, thanks.  I must have missed something else wrong in the code......
> 
> Probably this 'break' in the wrong place...
> 
> Could you try this patch instead please - or just move the 'break' to
> where it should be.

Now it worked :)

Thanks,
Wu

> Signed-off-by: Neil Brown <neilb@suse.de>
> 
> ### Diffstat output
>  ./fs/nfsd/nfssvc.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 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-13 06:40:12.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,
> @@ -118,16 +118,16 @@ int nfsd_vers(int vers, enum vers_op cha
>  	switch(change) {
>  	case NFSD_SET:
>  		nfsd_versions[vers] = nfsd_version[vers];
> -		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
> +		break;
>  	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:

      parent reply	other threads:[~2007-01-13  2:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <367964923.02447@ustc.edu.cn>
2007-01-05  2:42 ` Fengguang Wu
2007-01-05 12:25   ` Trond Myklebust
     [not found]     ` <368001275.26960@ustc.edu.cn>
2007-01-05 12:48       ` Fengguang Wu
2007-01-10  6:01   ` Neil Brown
     [not found]     ` <368438638.13038@ustc.edu.cn>
2007-01-10 14:17       ` Fengguang Wu
2007-01-11  3:59         ` Neil Brown
     [not found]           ` <368527150.02925@ustc.edu.cn>
2007-01-11 14:53             ` Fengguang Wu
2007-01-11 22:04               ` Neil Brown
     [not found]                 ` <368569131.07190@ustc.edu.cn>
2007-01-12  2:32                   ` Fengguang Wu
2007-01-12 19:43                     ` Neil Brown
     [not found]                       ` <368654358.17532@ustc.edu.cn>
2007-01-13  2:13                         ` Fengguang Wu
2007-01-14 22:32                           ` Neil Brown
2007-01-10 15:15       ` Arnaud Giersch

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=368654358.17532@ustc.edu.cn \
    --to=fengguang.wu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --subject='Re: "svc: unknown version (3)" when CONFIG_NFSD_V4=y' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).