]> git.karo-electronics.de Git - mv-sheeva.git/commit
nfsd41: encode replay sequence from the slot values
authorAndy Adamson <andros@netapp.com>
Thu, 23 Jul 2009 23:02:18 +0000 (19:02 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 28 Jul 2009 20:12:34 +0000 (16:12 -0400)
commitabfabf8cafa60e7876a7193fb344f739f690071d
tree1cc9faa1a82d7ac7ef08bdb8af7acb8a30c9903d
parentc8647947f8c13ee2647505debae284ab1c859e65
nfsd41: encode replay sequence from the slot values

The sequence operation is not cached; always encode the sequence operation on
a replay from the slot table and session values. This simplifies the sessions
replay logic in nfsd4_proc_compound.

If this is a replay of a compound that was specified not to be cached, return
NFS4ERR_RETRY_UNCACHED_REP.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c