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
..
2009-04-28 20:24:20 +02:00
2009-04-21 13:41:51 -07:00
2009-04-13 15:04:29 -07:00
2009-04-05 00:32:25 +02:00
2009-04-24 07:52:08 -07:00
2009-04-01 08:59:23 -07:00
2009-04-21 13:41:50 -07:00
2009-04-14 19:46:19 -07:00
2009-04-21 13:41:49 -07:00
2009-03-27 20:13:20 -04:00
2009-04-05 00:32:22 +02:00
2009-04-08 14:25:51 -07:00