浏览代码

nfsd: get rid of RC_INTR

The reply cache code never returns this status.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Jeff Layton 12 年之前
父节点
当前提交
09662d58d5
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 1 2
      fs/nfsd/cache.h
  2. 0 1
      fs/nfsd/nfssvc.c

+ 1 - 2
fs/nfsd/cache.h

@@ -50,8 +50,7 @@ enum {
 enum {
 	RC_DROPIT,
 	RC_REPLY,
-	RC_DOIT,
-	RC_INTR
+	RC_DOIT
 };
 
 /*

+ 0 - 1
fs/nfsd/nfssvc.c

@@ -652,7 +652,6 @@ nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp)
 
 	/* Check whether we have this call in the cache. */
 	switch (nfsd_cache_lookup(rqstp)) {
-	case RC_INTR:
 	case RC_DROPIT:
 		return 0;
 	case RC_REPLY: