aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-03 15:55:33 +1000
committerBen Hutchings <ben@decadent.org.uk>2012-07-12 04:32:06 +0100
commit0cc5b5c40fccdbf7b872ae167db30a4aeb413d89 (patch)
tree7713a3351a2a21f91b64bfa5904b1bd30b747b5e /drivers/gpu/drm/i915
parent6b295c456aff465a7710259b2a6b5f06e654f850 (diff)
md/raid10: fix failure when trying to repair a read error.
commit 055d3747dbf00ce85c6872ecca4d466638e80c22 upstream. commit 58c54fcca3bac5bf9290cfed31c76e4c4bfbabaf md/raid10: handle further errors during fix_read_error better. in 3.1 added "r10_sync_page_io" which takes an IO size in sectors. But we were passing the IO size in bytes!!! This resulting in bio_add_page failing, and empty request being sent down, and a consequent BUG_ON in scsi_lib. [fix missing space in error message at same time] This fix is suitable for 3.1.y and later. Reported-by: Christian Balzer <chibi@gol.com> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions