From 70e04071de52971cddfe6f6b75496816e2a2b762 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 28 Jan 2013 14:41:12 -0500 Subject: [PATCH] --- yaml --- r: 359714 b: refs/heads/master c: 25e6b8b0e1a247747db5275b1b6b362f5acf2245 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfscache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 65e05f92d802..56ab8b6ee750 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f09841fdfad8dd95593725dfa70388f55b170947 +refs/heads/master: 25e6b8b0e1a247747db5275b1b6b362f5acf2245 diff --git a/trunk/fs/nfsd/nfscache.c b/trunk/fs/nfsd/nfscache.c index 363bc6188155..2cdc4be84553 100644 --- a/trunk/fs/nfsd/nfscache.c +++ b/trunk/fs/nfsd/nfscache.c @@ -65,7 +65,7 @@ nfsd_reply_cache_alloc(void) static void nfsd_reply_cache_free_locked(struct svc_cacherep *rp) { - if (rp->c_state == RC_DONE && rp->c_type == RC_REPLBUFF) + if (rp->c_type == RC_REPLBUFF) kfree(rp->c_replvec.iov_base); list_del(&rp->c_lru); kmem_cache_free(drc_slab, rp);