lists.openwall.net   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] [day] [month] [year] [list]
Date:	Sun, 21 Aug 2011 09:19:55 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Josef Bacik <josef@...hat.com>
Cc:	linux-kernel@...r.kernel.org, linux-btrfs@...r.kernel.org,
	torvalds@...ux-foundation.org, liubo2009@...fujitsu.com
Subject: Re: [PATCH] Btrfs: fix 64 bit divide problem


* Josef Bacik <josef@...hat.com> wrote:

> This fixes a regression introduced by
> 
> cdcb725c05fe0cb71777c66ddc2445fedbbb3c59
> 
> In cases where we need to divide/multiply by 2 we should just left/right shift
> respectively, and in cases where theres N number of devices use do_div.  Also
> make the counters u64 to match up with rw_devices.  Thanks,
> 
> Signed-off-by: Josef Bacik <josef@...hat.com>

Acked-and-tested-by: Ingo Molnar <mingo@...e.hu>

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ