]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
UBI: fix error handling in erase worker
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 10:42:10 +0000 (13:42 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:59:09 +0000 (16:59 +0300)
commit784c145444e7dd58ae740d406155b72ac658f151
tree31c304913db2011a3a9f09da9dbaf2f74004d887
parent63b6c1ed56f69fdd35122dc591164587e3407ba0
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 <vinit.agnihotri@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/wl.c