On Wed, Jun 24, 2009 at 03:37:47PM -0400, andros@xxxxxxxxxx wrote: > From: Andy Adamson <andros@xxxxxxxxxx> > > Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> > --- > fs/nfsd/nfs4state.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c > index b4a536d..991c3cc 100644 > --- a/fs/nfsd/nfs4state.c > +++ b/fs/nfsd/nfs4state.c > @@ -583,6 +583,9 @@ free_session(struct kref *kref) > struct nfsd4_cache_entry *e = &ses->se_slots[i].sl_cache_entry; > nfsd4_release_respages(e->ce_respages, e->ce_resused); > } > + spin_lock(&nfsd_drc_lock); > + nfsd_drc_mem_used -= ses->se_fchannel.maxreqs * NFSD_SLOT_CACHE_SIZE; > + spin_unlock(&nfsd_drc_lock); > kfree(ses); This patch has to be combined with the previous one. --b. > } > > -- > 1.5.4.3 > > _______________________________________________ > pNFS mailing list > pNFS@xxxxxxxxxxxxx > http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html