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)
commite4e83ea47babd9d4bf95a13aed87f8ef51e46472
tree3949e01791c172f21f0d408d3352a857fcda9258
parent47cee541a46a73b20dc279bf4c4690f776f6c81b
Revert "nfsd4: distinguish expired from stale stateids"

This reverts commit 78155ed75f470710f2aecb3e75e3d97107ba8374.

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