nfsd4: allow restarting callbacks
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Jan 2011 21:44:41 +0000 (16:44 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Jan 2011 20:04:11 +0000 (15:04 -0500)
commit5ce8ba25d657a71d6d8cdb05a2b90c5ae7debfda
tree831d815e91e23de373fe7fdc7a54b3eb098067f5
parent3ff3600e7eab16301e824293e8f49b9990bd4641
nfsd4: allow restarting callbacks

If we lose the backchannel and then the client repairs the problem,
resend any callbacks.

We use a new cb_done flag to track whether there is still work to be
done for the callback or whether it can be destroyed with the rpc.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h