[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B396CA7.6070701@vflare.org>
Date: Tue, 29 Dec 2009 08:12:47 +0530
From: Nitin Gupta <ngupta@...are.org>
To: Yin Kangkai <kernel@...ddreams.com>
CC: Hugh Dickins <hugh.dickins@...cali.co.uk>,
Pekka Enberg <penberg@...helsinki.fi>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] [mmotm] ramzswap: add handlers for various swap events
On 12/28/2009 09:56 PM, Yin Kangkai wrote:
> On 2009-12-28, 06:50 +0530, Nitin Gupta wrote:
>> + ret = register_swap_event_notifier(&ramzswap_swapon_nb,
>> + SWAP_EVENT_SWAPON, 0);
>> + if (ret) {
>> + pr_err("Error registering swapon notifier\n");
>> + goto out;
>> + }
>> +
>> + ret = register_swap_event_notifier(&ramzswap_swapoff_nb,
>> + SWAP_EVENT_SWAPOFF, 0);
>> + if (ret) {
>
> Sorry, but an unregister here?
Oh, I missed it. I will add it in next patch revision.
Thanks,
Nitin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists