lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091228162648.GA29309@kai-nas>
Date:	Tue, 29 Dec 2009 00:26:48 +0800
From:	Yin Kangkai <kernel@...ddreams.com>
To:	Nitin Gupta <ngupta@...are.org>
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 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?

> +		pr_err("Error registering swapoff notifier\n");
> +		goto out;
> +	}
> +
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ