aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/nfscache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c
index 363bc6188155..2cdc4be84553 100644
--- a/fs/nfsd/nfscache.c
+++ b/fs/nfsd/nfscache.c
@@ -65,7 +65,7 @@ nfsd_reply_cache_alloc(void)
65static void 65static void
66nfsd_reply_cache_free_locked(struct svc_cacherep *rp) 66nfsd_reply_cache_free_locked(struct svc_cacherep *rp)
67{ 67{
68 if (rp->c_state == RC_DONE && rp->c_type == RC_REPLBUFF) 68 if (rp->c_type == RC_REPLBUFF)
69 kfree(rp->c_replvec.iov_base); 69 kfree(rp->c_replvec.iov_base);
70 list_del(&rp->c_lru); 70 list_del(&rp->c_lru);
71 kmem_cache_free(drc_slab, rp); 71 kmem_cache_free(drc_slab, rp);