diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-08-25 15:22:53 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-10 11:06:47 +0200 |
commit | 0dcd18e4073454daf591e7127247e32ec942b4f3 (patch) | |
tree | 2f9e0175bc1af2e841269c19f0a5f65cc22088d7 /drivers/uio | |
parent | UBIFS: do not print scary error messages needlessly (diff) | |
download | linux-0dcd18e4073454daf591e7127247e32ec942b4f3.tar.xz linux-0dcd18e4073454daf591e7127247e32ec942b4f3.zip |
UBIFS: check ubifs_scan error codes better
The 'ubifs_scan()' function returns -EUCLEAN if something is corrupted
and recovery is needed, otherwise it returns other error codes. However,
in few places UBIFS does not check the error codes and runs recovery.
This patch changes this behavior and makes UBIFS start recovery only
on -EUCLEAN errors.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Adrian Hunter <Adrian.Hunter@nokia.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions