nfsd: Don't return NFS4ERR_STALE_STATEID for NFSv4.1+
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 29 Mar 2014 18:43:38 +0000 (14:43 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 30 Mar 2014 14:47:33 +0000 (10:47 -0400)
commita8a7c6776f8d74780348bef639581421d85a4376
tree091ec7945d552cf474b7b4471d21e3051ae3f3f7
parent1bc49d83c37cfaf46be357757e592711e67f9809
nfsd: Don't return NFS4ERR_STALE_STATEID for NFSv4.1+

RFC5661 obsoletes NFS4ERR_STALE_STATEID in favour of NFS4ERR_BAD_STATEID.

Note that because nfsd encodes the clientid boot time in the stateid, we
can hit this error case in certain scenarios where the Linux client
state management thread exits early, before it has finished recovering
all state.

Reported-by: Idan Kedar <idank@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
This page took 0.024684 seconds and 5 git commands to generate.