diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-10-02 18:42:39 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-02 18:49:33 -0400 |
commit | 33515142156efc9ab5dbfe93ff8d4765559dc987 (patch) | |
tree | 64dc7ef93b822a703d5ffe32aeb8007550d1daa5 /net/sunrpc/cache.c | |
parent | 328ead287220711c3ad4490b1f3f691855df4039 (diff) |
nfsd4: return expired on unfound stateid's
Commit 78155ed75f470710f2aecb3e75e3d97107ba8374 "nfsd4: distinguish
expired from stale stateids" attempted to distinguish expired and stale
stateid's using time information that may not have been completely
reliable, so I reverted it.
That was throwing out the baby with the bathwater; we still do want to
return expired, but let's do that using the simpler approach of just
assuming any stateid is expired if it looks like it was given out by the
current server instance, but we can't find it any more.
This may help clients that are recovering from network partitions.
Reported-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/cache.c')
0 files changed, 0 insertions, 0 deletions