diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-01-28 14:41:09 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-04 09:16:20 -0500 |
commit | 09662d58d5a2d75c8c29558dda4fc5134ef14b25 (patch) | |
tree | be11250e241e7b22a9e86906cf2db9ca18788c59 /fs | |
parent | 6dc8889589678c228a675b9f01721318a31a8f5b (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/cache.h | 3 | ||||
-rw-r--r-- | fs/nfsd/nfssvc.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h index 2cac76c63b97..f8c6df8649dc 100644 --- a/fs/nfsd/cache.h +++ b/fs/nfsd/cache.h | |||
@@ -50,8 +50,7 @@ enum { | |||
50 | enum { | 50 | enum { |
51 | RC_DROPIT, | 51 | RC_DROPIT, |
52 | RC_REPLY, | 52 | RC_REPLY, |
53 | RC_DOIT, | 53 | RC_DOIT |
54 | RC_INTR | ||
55 | }; | 54 | }; |
56 | 55 | ||
57 | /* | 56 | /* |
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index cee62ab9d4a3..40cb1cbaba4e 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -652,7 +652,6 @@ nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) | |||
652 | 652 | ||
653 | /* Check whether we have this call in the cache. */ | 653 | /* Check whether we have this call in the cache. */ |
654 | switch (nfsd_cache_lookup(rqstp)) { | 654 | switch (nfsd_cache_lookup(rqstp)) { |
655 | case RC_INTR: | ||
656 | case RC_DROPIT: | 655 | case RC_DROPIT: |
657 | return 0; | 656 | return 0; |
658 | case RC_REPLY: | 657 | case RC_REPLY: |