git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e41dd3
)
md/raid1,raid10: Fix calculation of 'vcnt' when processing error recovery.
author
majianpeng
<majianpeng@gmail.com>
Thu, 12 Apr 2012 06:04:47 +0000
(16:04 +1000)
committer
NeilBrown
<neilb@suse.de>
Thu, 12 Apr 2012 06:04:47 +0000
(16:04 +1000)
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: stable@vger.kernel.org
Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
No differences found