Re: [PATCH 6/8] omfs: add bitmap routines

From: Bob Copeland
Date: Sun Apr 20 2008 - 21:12:21 EST


On Sun, Apr 20, 2008 at 12:03:12AM +0200, Marcin Slusarz wrote:
> I think inner loop can be replaced with something like:
> sum += sb->s_blocksize * 8 - bitmap_weight(map, sb->s_blocksize * 8);

Yep that should work, I'll play around with that.

--
Bob Copeland %% www.bobcopeland.com

--
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/