diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-04 11:32:59 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-04-22 11:34:02 -0400 |
commit | b12a05cbdfdf7e4d8cbe8fa78e995f971420086b (patch) | |
tree | 05f82bd2abf8ab0b688383c467b76db713cdcc09 /fs/nfsd/state.h | |
parent | b5a1a81e5c25fb6bb3fdc1812ba69ff6ab638fcf (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.h | 2 |
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); | |||
388 | extern void nfs4_unlock_state(void); | 387 | extern void nfs4_unlock_state(void); |
389 | extern int nfs4_in_grace(void); | 388 | extern int nfs4_in_grace(void); |
390 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid); | 389 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid); |
391 | extern void put_nfs4_client(struct nfs4_client *clp); | ||
392 | extern void nfs4_free_stateowner(struct kref *kref); | 390 | extern void nfs4_free_stateowner(struct kref *kref); |
393 | extern int set_callback_cred(void); | 391 | extern int set_callback_cred(void); |
394 | extern void nfsd4_probe_callback(struct nfs4_client *clp); | 392 | extern void nfsd4_probe_callback(struct nfs4_client *clp); |