lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 18 Dec 2012 16:42:04 -0800 (PST)
From:	David Rientjes <>
To:	Doug Anderson <>,
	Linus Torvalds <>
cc:, Shaohua Li <>,
	Jens Axboe <>, Neil Brown <>,
	Tejun Heo <>,
	"Martin K. Petersen" <>,
	Vivek Goyal <>,
	Mike Snitzer <>
Subject: Re: [PATCH] block: Avoid divide by 0 when max_discard_sectors is 0

On Tue, 18 Dec 2012, Doug Anderson wrote:

> The recent commit "block: discard granularity might not be power of 2"
> introduced a divide by 0 in the kernel.  Previously the code didn't
> try to divide by discard_granularity when max_discard_sectors was 0.
> Fix the code to only do the division if max_discard_sectors is
> specified.

Could you try Linus' patch at and give your Tested-by 
if it solves your issue?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists