aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authormajianpeng <[email protected]>2012-04-12 06:04:47 +0000
committerNeilBrown <[email protected]>2012-04-12 06:04:47 +0000
commitf4380a915823dbed0bf8e3cf502ebcf2b7c7f833 (patch)
tree1326179e1f715f33495066b2fe4b99acf1bbdd96 /lib/mpi/mpi-bit.c
parentMD: Bitmap version cleanup. (diff)
downloadkernel-f4380a915823dbed0bf8e3cf502ebcf2b7c7f833.tar.gz
kernel-f4380a915823dbed0bf8e3cf502ebcf2b7c7f833.zip
md/raid1,raid10: Fix calculation of 'vcnt' when processing error recovery.
If r1bio->sectors % 8 != 0,then the memcmp and a later memcpy will omit the last bio_vec. This is suitable for any stable kernel since 3.1 when bad-block management was introduced. Cc: [email protected] Signed-off-by: majianpeng <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions