diff options
| author | NeilBrown <[email protected]> | 2009-05-07 02:49:06 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2009-05-07 02:49:06 +0000 |
| commit | db305e507d554430a69ede901a6308e6ecb72349 (patch) | |
| tree | b3ad8266ff05ae9059de551cdf8a8965bd27bcb1 /security/selinux/hooks.c | |
| parent | md/raid10: don't clear bitmap during recovery if array will still be degraded. (diff) | |
| download | kernel-db305e507d554430a69ede901a6308e6ecb72349.tar.gz kernel-db305e507d554430a69ede901a6308e6ecb72349.zip | |
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 <[email protected]>
Reported-by: "Mario 'BitKoenig' Holbe" <[email protected]>
Cc: [email protected]
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
