Messages in this thread |  | | | Date | Sun, 20 Apr 2008 21:11:09 -0400 | | From | Bob Copeland <> | | Subject | Re: [PATCH 6/8] omfs: add bitmap routines |
| |
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
|  |