Commit 1d8d931d authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] nfsd4: remove dl_recall_cnt

We don't need dl_recall_cnt any more, we're just using a local variable
in nfsd4_cb_recall.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f691a025
...@@ -161,7 +161,6 @@ alloc_init_deleg(struct nfs4_client *clp, struct nfs4_stateid *stp, struct svc_f ...@@ -161,7 +161,6 @@ alloc_init_deleg(struct nfs4_client *clp, struct nfs4_stateid *stp, struct svc_f
dp->dl_time = 0; dp->dl_time = 0;
atomic_set(&dp->dl_state, NFS4_NO_RECALL); atomic_set(&dp->dl_state, NFS4_NO_RECALL);
atomic_set(&dp->dl_count, 1); atomic_set(&dp->dl_count, 1);
atomic_set(&dp->dl_recall_cnt, 0);
list_add(&dp->dl_del_perfile, &fp->fi_del_perfile); list_add(&dp->dl_del_perfile, &fp->fi_del_perfile);
list_add(&dp->dl_del_perclnt, &clp->cl_del_perclnt); list_add(&dp->dl_del_perclnt, &clp->cl_del_perclnt);
alloc_delegation++; alloc_delegation++;
......
...@@ -86,7 +86,6 @@ struct nfs4_delegation { ...@@ -86,7 +86,6 @@ struct nfs4_delegation {
struct list_head dl_del_perfile; /* nfs4_file->fi_del_perfile */ struct list_head dl_del_perfile; /* nfs4_file->fi_del_perfile */
struct list_head dl_del_perclnt; /* nfs4_client->cl_del_perclnt*/ struct list_head dl_del_perclnt; /* nfs4_client->cl_del_perclnt*/
struct list_head dl_recall_lru; /* delegation recalled */ struct list_head dl_recall_lru; /* delegation recalled */
atomic_t dl_recall_cnt; /* resend cb_recall only once */
atomic_t dl_count; /* ref count */ atomic_t dl_count; /* ref count */
atomic_t dl_state; /* recall state */ atomic_t dl_state; /* recall state */
struct nfs4_client *dl_client; struct nfs4_client *dl_client;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment