|
@@ -936,6 +936,12 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
|
|
|
BUG_ON(op->status == nfs_ok);
|
|
|
|
|
|
encode_op:
|
|
|
+ /* Only from SEQUENCE or CREATE_SESSION */
|
|
|
+ if (resp->cstate.status == nfserr_replay_cache) {
|
|
|
+ dprintk("%s NFS4.1 replay from cache\n", __func__);
|
|
|
+ status = op->status;
|
|
|
+ goto out;
|
|
|
+ }
|
|
|
if (op->status == nfserr_replay_me) {
|
|
|
op->replay = &cstate->replay_owner->so_replay;
|
|
|
nfsd4_encode_replay(resp, op);
|
|
@@ -964,6 +970,7 @@ encode_op:
|
|
|
status = nfserr_jukebox;
|
|
|
}
|
|
|
|
|
|
+ resp->cstate.status = status;
|
|
|
fh_put(&resp->cstate.current_fh);
|
|
|
fh_put(&resp->cstate.save_fh);
|
|
|
BUG_ON(resp->cstate.replay_owner);
|