aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-07-18 13:42:10 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-07-18 16:59:09 +0300
commit784c145444e7dd58ae740d406155b72ac658f151 (patch)
tree31c304913db2011a3a9f09da9dbaf2f74004d887 /drivers/base/core.c
parentUBI: fix comments (diff)
downloadlinux-dev-784c145444e7dd58ae740d406155b72ac658f151.tar.xz
linux-dev-784c145444e7dd58ae740d406155b72ac658f151.zip
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>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions