]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: probe callback channel only once
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 22 Nov 2007 18:54:18 +0000 (13:54 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:01 +0000 (16:42 -0500)
commit46f8a64bae11f5c9b15b4401f6e9863281999b66
treeaea712834e9a12a43772de61c1f6af0dc2ea1b57
parent24e1c13c93cbdd05e4b7ea921c0050b036555adc
nfsd4: probe callback channel only once

Our callback code doesn't actually handle concurrent attempts to probe
the callback channel.  Some rethinking of the locking may be required.
However, we can also just move the callback probing to this case.  Since
this is the only time a client is "confirmed" (and since that can only
happen once in the lifetime of a client), this ensures we only probe
once.

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