From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from perches-mx.perches.com ([206.117.179.246]:52079 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751763Ab3G3RgK (ORCPT ); Tue, 30 Jul 2013 13:36:10 -0400 Message-ID: <1375205770.2075.121.camel@joe-AO722> Subject: Re: btrfs zero divide (was: Re: Linux 3.10 problem reports (yes, plural)) From: Joe Perches To: Josef Bacik Cc: Geert Uytterhoeven , Thorsten Glaser , Debian GNU/Linux m68k , linux-btrfs@vger.kernel.org, Linux Kernel Development Date: Tue, 30 Jul 2013 10:36:10 -0700 In-Reply-To: <20130730171329.GF24583@localhost.localdomain> References: <20130730171329.GF24583@localhost.localdomain> Content-Type: text/plain; charset="ISO-8859-1" Mime-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, 2013-07-30 at 13:13 -0400, Josef Bacik wrote: > I've looked at all the places we do divides in this function and it > doesn't look like we're doing this anywhere but I could be blind, do_div seems a likely suspect... /* * stripe_nr counts the total number of stripes we have to stride * to get to this block */ do_div(stripe_nr, stripe_len);