NeilBrown db305e507d md: fix some (more) errors with bitmaps on devices larger than 2TB.
If a write intent bitmap covers more than 2TB, we sometimes work with
values beyond 32bit, so these need to be sector_t.  This patches
add the required casts to some unsigned longs that are being shifted
up.

This will affect any raid10 larger than 2TB, or any raid1/4/5/6 with
member devices that are larger than 2TB.

Signed-off-by: NeilBrown <neilb@suse.de>
Reported-by: "Mario 'BitKoenig' Holbe" <Mario.Holbe@TU-Ilmenau.DE>
Cc: stable@kernel.org
2009-05-07 12:49:06 +10:00
..
2006-01-01 22:21:50 +01:00
2009-04-02 19:55:28 +01:00
2009-04-02 19:55:24 +01:00
2009-04-09 00:27:12 +01:00
2009-04-09 00:27:17 +01:00
2009-04-09 00:27:13 +01:00
2009-01-06 03:05:12 +00:00
2009-04-09 00:27:13 +01:00
2007-10-20 02:01:26 +01:00
2009-04-15 08:28:09 +02:00
2009-04-09 00:27:13 +01:00
2009-04-14 12:01:53 +10:00
2009-03-31 15:00:31 +11:00
2009-03-31 14:57:37 +11:00
2005-04-16 15:20:36 -07:00