From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: dm-statistics: better argument validation Date: Fri, 5 Jun 2015 10:34:11 -0400 Message-ID: <20150605143411.GA28618@redhat.com> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Alasdair G. Kergon" List-Id: dm-devel.ids On Fri, Jun 05 2015 at 9:50am -0400, Mikulas Patocka wrote: > If the number_of_areas argument was zero, the kernel would crash on > div-by-zero. This patch fixes it. > > Signed-off-by: Mikulas Patocka > Cc: stable@vger.kernel.org # v3.12+ > I've applied this for 4.2. Thanks.