nfsd: get rid of RC_INTR
authorJeff Layton <jlayton@redhat.com>
Mon, 28 Jan 2013 19:41:09 +0000 (14:41 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 Feb 2013 14:16:20 +0000 (09:16 -0500)
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>
fs/nfsd/cache.h
fs/nfsd/nfssvc.c

index 2cac76c63b97faef900e2e247eef7dd7b0fb1c47..f8c6df8649dce05b7a9269e1968557e902a50046 100644 (file)
@@ -50,8 +50,7 @@ enum {
 enum {
        RC_DROPIT,
        RC_REPLY,
-       RC_DOIT,
-       RC_INTR
+       RC_DOIT
 };
 
 /*
index cee62ab9d4a30f84fe05d871409f064f24350b07..40cb1cbaba4e1159773214d4ac28cc829592009b 100644 (file)
@@ -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: