diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-14 22:26:31 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-21 10:11:49 -0400 |
commit | edd76786633a3145661c7a90c9baccae8e3c9e84 (patch) | |
tree | 5f3cde6cdfeea3d752df359f800ca8e4fb4df2c4 /fs/nfsd/state.h | |
parent | cd5b814458e5554457c6e62f17aed122145b065e (diff) | |
download | blackbird-op-linux-edd76786633a3145661c7a90c9baccae8e3c9e84.tar.gz blackbird-op-linux-edd76786633a3145661c7a90c9baccae8e3c9e84.zip |
nfsd4: move callback setup into session init code
The backchannel should be associated with a session, it isn't really
global to the client.
We do, however, want a pointer global to the client which tracks which
session we're currently using for client-based callbacks.
This is a first step in that direction; for now, just reshuffling of
code with no significant change in behavior.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 8d5e2370cce0..6e63c1d272bf 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -234,6 +234,7 @@ struct nfs4_client { u32 cl_cb_ident; atomic_t cl_cb_set; struct nfsd4_callback cl_cb_null; + struct nfsd4_session *cl_cb_session; /* for all client information that callback code might need: */ spinlock_t cl_lock; |