aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-03-04 11:32:59 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-04-22 11:34:02 -0400
commitb12a05cbdfdf7e4d8cbe8fa78e995f971420086b (patch)
tree05f82bd2abf8ab0b688383c467b76db713cdcc09 /fs/nfsd/state.h
parentb5a1a81e5c25fb6bb3fdc1812ba69ff6ab638fcf (diff)
nfsd4: cl_count is unused
Now that the shutdown sequence guarantees callbacks are shut down before the client is destroyed, we no longer have a use for cl_count. We'll probably reinstate a reference count on the client some day, but it will be held by users other than callbacks. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index c4c92aea8f39..cef20abf330c 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -224,7 +224,6 @@ struct nfs4_client {
224 clientid_t cl_clientid; /* generated by server */ 224 clientid_t cl_clientid; /* generated by server */
225 nfs4_verifier cl_confirm; /* generated by server */ 225 nfs4_verifier cl_confirm; /* generated by server */
226 struct nfs4_cb_conn cl_cb_conn; /* callback info */ 226 struct nfs4_cb_conn cl_cb_conn; /* callback info */
227 atomic_t cl_count; /* ref count */
228 u32 cl_firststate; /* recovery dir creation */ 227 u32 cl_firststate; /* recovery dir creation */
229 228
230 /* for nfs41 */ 229 /* for nfs41 */
@@ -388,7 +387,6 @@ extern void nfs4_lock_state(void);
388extern void nfs4_unlock_state(void); 387extern void nfs4_unlock_state(void);
389extern int nfs4_in_grace(void); 388extern int nfs4_in_grace(void);
390extern __be32 nfs4_check_open_reclaim(clientid_t *clid); 389extern __be32 nfs4_check_open_reclaim(clientid_t *clid);
391extern void put_nfs4_client(struct nfs4_client *clp);
392extern void nfs4_free_stateowner(struct kref *kref); 390extern void nfs4_free_stateowner(struct kref *kref);
393extern int set_callback_cred(void); 391extern int set_callback_cred(void);
394extern void nfsd4_probe_callback(struct nfs4_client *clp); 392extern void nfsd4_probe_callback(struct nfs4_client *clp);