diff options
| -rw-r--r-- | fs/nfsd/nfscache.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index dbdeb9d6af03..cef4686f87ef 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c | |||
| @@ -446,14 +446,6 @@ nfsd_cache_lookup(struct svc_rqst *rqstp) | |||
| 446 | rp->c_csum = csum; | 446 | rp->c_csum = csum; |
| 447 | 447 | ||
| 448 | lru_put_end(b, rp); | 448 | lru_put_end(b, rp); |
| 449 | |||
| 450 | /* release any buffer */ | ||
| 451 | if (rp->c_type == RC_REPLBUFF) { | ||
| 452 | drc_mem_usage -= rp->c_replvec.iov_len; | ||
| 453 | kfree(rp->c_replvec.iov_base); | ||
| 454 | rp->c_replvec.iov_base = NULL; | ||
| 455 | } | ||
| 456 | rp->c_type = RC_NOCACHE; | ||
| 457 | out: | 449 | out: |
| 458 | spin_unlock(&b->cache_lock); | 450 | spin_unlock(&b->cache_lock); |
| 459 | return rtn; | 451 | return rtn; |
