Skip to content

Commit

Permalink
nfsd: get rid of RC_INTR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Layton authored and J. Bruce Fields committed Feb 4, 2013
1 parent 6dc8889 commit 09662d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions fs/nfsd/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ enum {
enum {
RC_DROPIT,
RC_REPLY,
RC_DOIT,
RC_INTR
RC_DOIT
};

/*
Expand Down
1 change: 0 additions & 1 deletion fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 09662d5

Please sign in to comment.