* Re: [PATCH 1/1] mm/zswap.c: add __init to zswap_entry_cache_destroy
@ 2014-06-07 13:56 Seth Jennings
0 siblings, 0 replies; 2+ messages in thread
From: Seth Jennings @ 2014-06-07 13:56 UTC (permalink / raw)
To: Fabian Frederick; +Cc: Andrew Morton, linux-kernel, Linux-MM
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1331 bytes --]
On Jun 7, 2014 6:08 AM, Fabian Frederick <fabf@skynet.be> wrote:
>
> zswap_entry_cache_destroy is only called by __init init_zswap
>
> This patch also fixes function name
> zswap_entry_cache_ s/destory/destroy
Thanks for the improvement âº
Acked-by <sjennings@variantweb.net>
>
> Cc: Seth Jennings <sjennings@variantweb.net>
> Cc: linux-mm@kvack.org
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> mm/zswap.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/zswap.c b/mm/zswap.c
> index aeaef0f..ab7fa0f 100644
> --- a/mm/zswap.c
> +++ b/mm/zswap.c
> @@ -207,7 +207,7 @@ static int zswap_entry_cache_create(void)
> return zswap_entry_cache == NULL;
> }
>
> -static void zswap_entry_cache_destory(void)
> +static void __init zswap_entry_cache_destroy(void)
> {
> kmem_cache_destroy(zswap_entry_cache);
> }
> @@ -926,7 +926,7 @@ static int __init init_zswap(void)
> pcpufail:
> zswap_comp_exit();
> compfail:
> - zswap_entry_cache_destory();
> + zswap_entry_cache_destroy();
> cachefail:
> zbud_destroy_pool(zswap_pool);
> error:
> --
> 1.9.1
>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] mm/zswap.c: add __init to zswap_entry_cache_destroy
@ 2014-06-07 11:08 Fabian Frederick
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Frederick @ 2014-06-07 11:08 UTC (permalink / raw)
To: linux-kernel; +Cc: Fabian Frederick, Seth Jennings, linux-mm, Andrew Morton
zswap_entry_cache_destroy is only called by __init init_zswap
This patch also fixes function name
zswap_entry_cache_ s/destory/destroy
Cc: Seth Jennings <sjennings@variantweb.net>
Cc: linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
mm/zswap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/zswap.c b/mm/zswap.c
index aeaef0f..ab7fa0f 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -207,7 +207,7 @@ static int zswap_entry_cache_create(void)
return zswap_entry_cache == NULL;
}
-static void zswap_entry_cache_destory(void)
+static void __init zswap_entry_cache_destroy(void)
{
kmem_cache_destroy(zswap_entry_cache);
}
@@ -926,7 +926,7 @@ static int __init init_zswap(void)
pcpufail:
zswap_comp_exit();
compfail:
- zswap_entry_cache_destory();
+ zswap_entry_cache_destroy();
cachefail:
zbud_destroy_pool(zswap_pool);
error:
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-07 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-07 13:56 [PATCH 1/1] mm/zswap.c: add __init to zswap_entry_cache_destroy Seth Jennings
-- strict thread matches above, loose matches on Subject: below --
2014-06-07 11:08 Fabian Frederick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome