nfsd4: distinguish expired from stale stateids
authorBian Naimeng <biannm@cn.fujitsu.com>
Wed, 22 Apr 2009 10:25:37 +0000 (18:25 +0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 24 Apr 2009 23:17:18 +0000 (19:17 -0400)
If we encode the time of client creation into the stateid instead of the
time of server boot, then we can determine whether that stateid is from
a previous instance of the a server, or from a client that has expired,
and return an appropriate error to the client.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found