* [PATCH 0/1] NFSD Fix for 2.6.30
@ 2009-05-01 15:33 andros
2009-05-01 15:33 ` [PATCH 1/1] nfsd41: slots are freed with session andros
0 siblings, 1 reply; 3+ messages in thread
From: andros @ 2009-05-01 15:33 UTC (permalink / raw)
To: bfields; +Cc: linux-nfs
Hi Bruce
Please add this patch to the 2.6.30 rc fixes. It prevents an oops on nfsd shutdown.
0001-nfsd41-slots-are-freed-with-session.patch
Thanks
-->Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] nfsd41: slots are freed with session
2009-05-01 15:33 [PATCH 0/1] NFSD Fix for 2.6.30 andros
@ 2009-05-01 15:33 ` andros
2009-05-03 18:45 ` J. Bruce Fields
0 siblings, 1 reply; 3+ messages in thread
From: andros @ 2009-05-01 15:33 UTC (permalink / raw)
To: bfields; +Cc: linux-nfs, Andy Adamson
From: Andy Adamson <andros@netapp.com>
The session and slots are allocated all in one piece.
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] nfsd41: slots are freed with session
2009-05-01 15:33 ` [PATCH 1/1] nfsd41: slots are freed with session andros
@ 2009-05-03 18:45 ` J. Bruce Fields
0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2009-05-03 18:45 UTC (permalink / raw)
To: andros; +Cc: linux-nfs
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-03 18:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox