nfsd4: nfsd4_destroy_session must set callback client under the state lock
authorBenny Halevy <bhalevy@panasas.com>
Tue, 11 May 2010 21:14:06 +0000 (00:14 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 13 May 2010 15:59:11 +0000 (11:59 -0400)
commitab707e156593ff7fffd615757332dbff6616836a
treea9d1c7d851ca178e616f05aab30377ab778762b4
parentd76829889ac4250a18cfcc1a606bb256bb9c570c
nfsd4: nfsd4_destroy_session must set callback client under the state lock

nfsd4_set_callback_client must be called under the state lock to atomically
set or unset the callback client and shutting down the previous one.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c