|author||NeilBrown <firstname.lastname@example.org>||2009-05-07 12:49:06 +1000|
|committer||NeilBrown <email@example.com>||2009-05-07 12:49:06 +1000|
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 <firstname.lastname@example.org> Reported-by: "Mario 'BitKoenig' Holbe" <Mario.Holbe@TU-Ilmenau.DE> Cc: email@example.com
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions