Re: [PATCH] Use do_div() instead of native 64-bit division in btrfs_ordered_sum_size()

2008-07-23 Thread Chris Mason
On Wed, 2008-07-23 at 07:13 -0400, Christoph Hellwig wrote: Chris, can you please put this patch in? Without it btrfs can't be loaded on 32bit platforms. I've pushed out a slightly different fix. The ordered extents are based on ram writeback, and so an unsigned long is enough. -chris --

Re: [PATCH] Use do_div() instead of native 64-bit division in btrfs_ordered_sum_size()

2008-07-23 Thread David Woodhouse
On Wed, 2008-07-23 at 09:28 -0400, Chris Mason wrote: On Wed, 2008-07-23 at 07:13 -0400, Christoph Hellwig wrote: Chris, can you please put this patch in? Without it btrfs can't be loaded on 32bit platforms. I've pushed out a slightly different fix. The ordered extents are based on

Re: [PATCH] Use do_div() instead of native 64-bit division in btrfs_ordered_sum_size()

2008-07-23 Thread Chris Mason
On Wed, 2008-07-23 at 17:07 -0400, David Woodhouse wrote: On Wed, 2008-07-23 at 09:28 -0400, Chris Mason wrote: On Wed, 2008-07-23 at 07:13 -0400, Christoph Hellwig wrote: Chris, can you please put this patch in? Without it btrfs can't be loaded on 32bit platforms. I've pushed