linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfsd: remove duplicate init in nfsd4_cb_recall
@ 2012-08-29 14:10 Namjae Jeon
  2012-08-30 20:32 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Namjae Jeon @ 2012-08-29 14:10 UTC (permalink / raw)
  To: bfields, akpm; +Cc: linux-kernel, linux-nfs, Namjae Jeon, Vivek Trivedi

remove duplicate init in nfsd4_cb_recall

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Vivek Trivedi <vtrivedi018@gmail.com>
---
 fs/nfsd/nfs4callback.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 4c7bd35..bdf29c9 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -1028,7 +1028,6 @@ void nfsd4_cb_recall(struct nfs4_delegation *dp)
 	cb->cb_msg.rpc_cred = callback_cred;
 
 	cb->cb_ops = &nfsd4_cb_recall_ops;
-	dp->dl_retries = 1;
 
 	INIT_LIST_HEAD(&cb->cb_per_client);
 	cb->cb_done = true;
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nfsd: remove duplicate init in nfsd4_cb_recall
  2012-08-29 14:10 [PATCH] nfsd: remove duplicate init in nfsd4_cb_recall Namjae Jeon
@ 2012-08-30 20:32 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2012-08-30 20:32 UTC (permalink / raw)
  To: Namjae Jeon; +Cc: akpm, linux-kernel, linux-nfs, Vivek Trivedi

On Wed, Aug 29, 2012 at 10:10:53AM -0400, Namjae Jeon wrote:
> remove duplicate init in nfsd4_cb_recall

Thanks, applying for 3.7.--b.

> 
> Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
> Signed-off-by: Vivek Trivedi <vtrivedi018@gmail.com>
> ---
>  fs/nfsd/nfs4callback.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
> index 4c7bd35..bdf29c9 100644
> --- a/fs/nfsd/nfs4callback.c
> +++ b/fs/nfsd/nfs4callback.c
> @@ -1028,7 +1028,6 @@ void nfsd4_cb_recall(struct nfs4_delegation *dp)
>  	cb->cb_msg.rpc_cred = callback_cred;
>  
>  	cb->cb_ops = &nfsd4_cb_recall_ops;
> -	dp->dl_retries = 1;
>  
>  	INIT_LIST_HEAD(&cb->cb_per_client);
>  	cb->cb_done = true;
> -- 
> 1.7.9.5
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-30 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-29 14:10 [PATCH] nfsd: remove duplicate init in nfsd4_cb_recall Namjae Jeon
2012-08-30 20:32 ` J. Bruce Fields

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).