linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Wanpeng Li <liwanp@linux.vnet.ibm.com>
To: Sunghan Suh <sunghan.suh@samsung.com>
Cc: sjenning@linux.vnet.ibm.com, linux-mm@kvack.org
Subject: Re: [PATCH] zswap: get swapper address_space by using swap_address_space macro
Date: Fri, 12 Jul 2013 13:47:39 +0800	[thread overview]
Message-ID: <20130712054739.GA3736@hacker.(null)> (raw)
In-Reply-To: <1373604175-19562-1-git-send-email-sunghan.suh@samsung.com>

On Fri, Jul 12, 2013 at 01:42:55PM +0900, Sunghan Suh wrote:
>Signed-off-by: Sunghan Suh <sunghan.suh@samsung.com>

Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>

>---
> mm/zswap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/mm/zswap.c b/mm/zswap.c
>index deda2b6..efed4c8 100644
>--- a/mm/zswap.c
>+++ b/mm/zswap.c
>@@ -409,7 +409,7 @@ static int zswap_get_swap_cache_page(swp_entry_t entry,
> 				struct page **retpage)
> {
> 	struct page *found_page, *new_page = NULL;
>-	struct address_space *swapper_space = &swapper_spaces[swp_type(entry)];
>+	struct address_space *swapper_space = swap_address_space(entry);
> 	int err;
>
> 	*retpage = NULL;
>-- 
>1.8.1.2
>
>--
>To unsubscribe, send a message with 'unsubscribe linux-mm' in
>the body to majordomo@kvack.org.  For more info on Linux MM,
>see: http://www.linux-mm.org/ .
>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2013-07-12  5:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12  4:42 Sunghan Suh
2013-07-12  4:58 ` Bob Liu
2013-07-12  5:47 ` Wanpeng Li
2013-07-12  5:47 ` Wanpeng Li [this message]
2013-07-12 18:00 ` Seth Jennings

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='20130712054739.GA3736@hacker.(null)' \
    --to=liwanp@linux.vnet.ibm.com \
    --cc=linux-mm@kvack.org \
    --cc=sjenning@linux.vnet.ibm.com \
    --cc=sunghan.suh@samsung.com \
    /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