diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-15 02:26:31 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-21 14:11:49 (GMT) |
commit | edd76786633a3145661c7a90c9baccae8e3c9e84 (patch) | |
tree | 5f3cde6cdfeea3d752df359f800ca8e4fb4df2c4 /fs/nfsd/state.h | |
parent | cd5b814458e5554457c6e62f17aed122145b065e (diff) | |
download | linux-fsl-qoriq-edd76786633a3145661c7a90c9baccae8e3c9e84.tar.xz |
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 8d5e237..6e63c1d 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; |