public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Wang Chen <wangchen@cn.fujitsu.com>
Cc: Benny Halevy <bhalevy@panasas.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfsd: nfs4_stat_init cleanup
Date: Wed, 6 May 2009 16:23:27 -0400	[thread overview]
Message-ID: <20090506202327.GL9861@fieldses.org> (raw)
In-Reply-To: <4A015837.6050703@cn.fujitsu.com>

Yep, thanks--applied.

--b.

On Wed, May 06, 2009 at 05:28:23PM +0800, Wang Chen wrote:
> >From 6c43788cbe09b84df712df1546d6c462656cc801 Mon Sep 17 00:00:00 2001
> From: Wang Chen <wangchen@cn.fujitsu.com>
> Date: Fri, 24 Apr 2009 15:41:57 +0800
> Subject: [PATCH] nfsd: nfs4_stat_init cleanup
> 
> Save some loop time.
> 
> Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
> ---
>  fs/nfsd/nfs4state.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index 86b9afd..2b4f70a 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -3988,6 +3988,7 @@ nfs4_state_init(void)
>  		INIT_LIST_HEAD(&conf_str_hashtbl[i]);
>  		INIT_LIST_HEAD(&unconf_str_hashtbl[i]);
>  		INIT_LIST_HEAD(&unconf_id_hashtbl[i]);
> +		INIT_LIST_HEAD(&reclaim_str_hashtbl[i]);
>  	}
>  	for (i = 0; i < SESSION_HASH_SIZE; i++)
>  		INIT_LIST_HEAD(&sessionid_hashtbl[i]);
> @@ -4010,8 +4011,6 @@ nfs4_state_init(void)
>  	INIT_LIST_HEAD(&close_lru);
>  	INIT_LIST_HEAD(&client_lru);
>  	INIT_LIST_HEAD(&del_recall_lru);
> -	for (i = 0; i < CLIENT_HASH_SIZE; i++)
> -		INIT_LIST_HEAD(&reclaim_str_hashtbl[i]);
>  	reclaim_str_hashtbl_size = 0;
>  	return 0;
>  }
> -- 
> 1.6.0.6
> 
> 

      reply	other threads:[~2009-05-06 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06  9:28 [PATCH] nfsd: nfs4_stat_init cleanup Wang Chen
2009-05-06 20:23 ` J. Bruce Fields [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=20090506202327.GL9861@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=bhalevy@panasas.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=wangchen@cn.fujitsu.com \
    /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