]> git.baikalelectronics.ru Git - kernel.git/commit
ore: Fix crash in case of an IO error.
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 27 Dec 2011 17:23:36 +0000 (19:23 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 6 Jan 2012 14:49:06 +0000 (16:49 +0200)
commit15ba6d89b2196bdf052299a6ecd67e1c0e8e37a8
tree6be1540656853d64a762625386d515b12e363dd4
parenta372866af172d2406707b77c8e442e44cb81697d
ore: Fix crash in case of an IO error.

The users of ore_check_io() expect the reported device
(In case of error) to be indexed relative to the passed-in
ore_components table, and not the logical dev index.

This causes a crash inside objlayoutdriver in case of
an IO error.

[Bug in 3.2.0 Kernel]
CC: Stable Tree <stable@kernel.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore.c