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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100527043531.GY31073@ZenIV.linux.org.uk>
Date:	Thu, 27 May 2010 05:35:31 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Erik van der Kouwe <vdkouwe@...vu.nl>
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	Fam Zheng <famcool@...il.com>
Subject: Re: [PATCH] fs/minix: bugfix, number of indirect block ptrs per
 block depends on block size

On Wed, May 26, 2010 at 12:03:23PM +0200, Erik van der Kouwe wrote:

> +#define INDIRCOUNT(sb) ((sb)->s_blocksize / 4)

ITYM (1 << ((sb)->s_blocksize_bits - 2))

Give gcc at least a chance to turn the uses of that into shifts...
Applied with such change.
--
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