aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2010-05-08 08:20:17 +1000
committerNeilBrown <[email protected]>2010-05-18 15:28:00 +1000
commitaf3a2cd6b8a479345786e7fe5e199ad2f6240e56 (patch)
tree10690853d80455e69bcc0d027ad6c8b9c7951332 /net/lapb/lapb_out.c
parent2dc40f80945ac3e5ec05c3a6c75baf09b13cee51 (diff)
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB
read_balance uses a "unsigned long" for a sector number which will get truncated beyond 2TB. This will cause read-balancing to be non-optimal, and can cause data to be read from the 'wrong' branch during a resync. This has a very small chance of returning wrong data. Reported-by: Jordan Russell <[email protected]> Cc: [email protected] Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions