From: "J. Bruce Fields" <bfields@fieldses.org>
To: andros@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/1] nfsd41: slots are freed with session
Date: Sun, 3 May 2009 14:45:45 -0400 [thread overview]
Message-ID: <20090503184545.GC20762@fieldses.org> (raw)
In-Reply-To: <1241192033-4493-2-git-send-email-andros@netapp.com>
On Fri, May 01, 2009 at 11:33:53AM -0400, andros@netapp.com wrote:
> From: Andy Adamson <andros@netapp.com>
>
> The session and slots are allocated all in one piece.
Thanks, applied for 2.6.30.--b.
>
> Signed-off-by: Andy Adamson <andros@netapp.com>
> ---
> fs/nfsd/nfs4state.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index c65a27b..3b711f5 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -580,7 +580,6 @@ 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);
> }
> - kfree(ses->se_slots);
> kfree(ses);
> }
>
> --
> 1.5.4.3
>
prev parent reply other threads:[~2009-05-03 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-01 15:33 [PATCH 0/1] NFSD Fix for 2.6.30 andros
2009-05-01 15:33 ` [PATCH 1/1] nfsd41: slots are freed with session andros
2009-05-03 18:45 ` J. Bruce Fields [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090503184545.GC20762@fieldses.org \
--to=bfields@fieldses.org \
--cc=andros@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox