Re: [PATCH] fs/minix: bugfix, number of indirect block ptrs perblock depends on block size

From: Al Viro
Date: Thu May 27 2010 - 00:35:37 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/