nfsd4: move callback setup into session init code
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 15 Jun 2010 02:26:31 +0000 (22:26 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Oct 2010 14:11:49 +0000 (10:11 -0400)
commitedd76786633a3145661c7a90c9baccae8e3c9e84
tree5f3cde6cdfeea3d752df359f800ca8e4fb4df2c4
parentcd5b814458e5554457c6e62f17aed122145b065e
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>
fs/nfsd/nfs4state.c
fs/nfsd/state.h