From: Artem Bityutskiy Date: Wed, 18 Jul 2007 10:42:10 +0000 (+0300) Subject: UBI: fix error handling in erase worker X-Git-Tag: v2.6.23-rc1~495^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784c145444e7dd58ae740d406155b72ac658f151;p=pandora-kernel.git UBI: fix error handling in erase worker Do not switch to read-only mode in case of -EINTR and some other obvious cases. Switch to RO mode only when we do not know what is the error. Reported-by: Vinit Agnihotri Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed