]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "nfsd4: distinguish expired from stale stateids"
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 22 Apr 2010 20:21:39 +0000 (16:21 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 18 May 2010 23:03:50 +0000 (19:03 -0400)
commitad46859bf8ad02360b8c8ac0d65ec7b1725f35bb
tree3949e01791c172f21f0d408d3352a857fcda9258
parent033b886e13c9455bfb6a8451e99e9a105e85fe86
Revert "nfsd4: distinguish expired from stale stateids"

This reverts commit 9dc6951ef600a7b1a81485d1fae109c0db6d0578.

We're depending here on the boot time that we use to generate the
stateid being monotonic, but get_seconds() is not necessarily.

We still depend at least on boot_time being different every time, but
that is a safer bet.

We have a few reports of errors that might be explained by this problem,
though we haven't been able to confirm any of them.

But the minor gain of distinguishing expired from stale errors seems not
worth the risk.

Conflicts:

fs/nfsd/nfs4state.c

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