Re: [PATCH][linux-next] pnfs/blocklayout: Use do_div for 64 bit divide operations

2014-09-19 Thread Steven Rostedt
On Fri, 19 Sep 2014 14:39:10 -0400 Trond Myklebust wrote: > Thanks. I posted a similar bugfix on the linux-nfs mailing list > yesterday. That hasn't been pushed to linux-next yet because Christoph > wanted to run it through some QA tests first. No problem. As long as it gets fixed before it brea

Re: [PATCH][linux-next] pnfs/blocklayout: Use do_div for 64 bit divide operations

2014-09-19 Thread Trond Myklebust
Hi Steven, On Fri, Sep 19, 2014 at 1:30 PM, Steven Rostedt wrote: > > Commit 5c83746a0cf2 "pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing" > added some open coded 64 bit divisions which caused the following > error on 32 bit builds: > > fs/built-in.o: In function `bl_map_stripe': > fs/nfs/

[PATCH][linux-next] pnfs/blocklayout: Use do_div for 64 bit divide operations

2014-09-19 Thread Steven Rostedt
Commit 5c83746a0cf2 "pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing" added some open coded 64 bit divisions which caused the following error on 32 bit builds: fs/built-in.o: In function `bl_map_stripe': fs/nfs/blocklayout/dev.c:153: undefined reference to `__udivdi3' fs/nfs/blocklayout/dev