浏览代码

nfsd4: minor nfsd4_replay_cache_entry cleanup

Maybe this is comment true, who cares?  Handle this like any other
error.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
J. Bruce Fields 11 年之前
父节点
当前提交
0da7b19cc3
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      fs/nfsd/nfs4state.c

+ 1 - 2
fs/nfsd/nfs4state.c

@@ -1605,9 +1605,8 @@ nfsd4_replay_cache_entry(struct nfsd4_compoundres *resp,
 
 	dprintk("--> %s slot %p\n", __func__, slot);
 
-	/* Either returns 0 or nfserr_retry_uncached */
 	status = nfsd4_enc_sequence_replay(resp->rqstp->rq_argp, resp);
-	if (status == nfserr_retry_uncached_rep)
+	if (status)
 		return status;
 
 	/* The sequence operation has been encoded, cstate->datap set. */