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]
Date:	Wed, 1 Oct 2008 23:11:44 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Mark Fasheh <mfasheh@...e.com>
Cc:	linux-kernel@...r.kernel.org, joel.becker@...cle.com,
	ocfs2-devel@....oracle.com, linux-fsdevel@...r.kernel.org,
	mfasheh@...e.com
Subject: Re: [PATCH 01/39] ocfs2: POSIX file locks support

> On Wed, 24 Sep 2008 15:00:42 -0700 Mark Fasheh <mfasheh@...e.com> wrote:
> +int ocfs2_stack_supports_plocks(void)
> +{
> +	return !!(active_stack && active_stack->sp_ops->plock);
> +}

It's pointless doing !! on something which is already 0 or 1.
--
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