• J. Bruce Fields's avatar
    Revert "nfsd4: distinguish expired from stale stateids" · e4e83ea4
    J. Bruce Fields authored
    This reverts commit 78155ed7.
    
    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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    e4e83ea4
nfs4state.c 109 KB