summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-01-06 00:35:34 +0100
committerNeilBrown <neilb@suse.de>2014-01-14 06:44:08 +0100
commite8b849158508565e0cd6bc80061124afc5879160 (patch)
tree774d35e3f97ebc4f7a4b200c2f99f961afa7e1df /drivers/gpu/drm/i915/i915_drv.h
parentmd/raid5: fix a recently broken BUG_ON(). (diff)
downloadlinux-e8b849158508565e0cd6bc80061124afc5879160.tar.xz
linux-e8b849158508565e0cd6bc80061124afc5879160.zip
md/raid10: fix bug when raid10 recovery fails to recover a block.
commit e875ecea266a543e643b19e44cf472f1412708f9 md/raid10 record bad blocks as needed during recovery. added code to the "cannot recover this block" path to record a bad block rather than fail the whole recovery. Unfortunately this new case was placed *after* r10bio was freed rather than *before*, yet it still uses r10bio. This is will crash with a null dereference. So move the freeing of r10bio down where it is safe. Cc: stable@vger.kernel.org (v3.1+) Fixes: e875ecea266a543e643b19e44cf472f1412708f9 Reported-by: Damian Nowak <spam@nowaker.net> URL: https://bugzilla.kernel.org/show_bug.cgi?id=68181 Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions