diff options
author | 2009-06-29 17:59:23 +0300 | |
---|---|---|
committer | 2009-07-09 09:19:38 +0300 | |
commit | ed43f2f06cc1cec7ec2dc235c908530bc8c796eb (patch) | |
tree | 7d178c64dc5a758487cc0fca834c4ab42e62febc /lib/fault-inject.c | |
parent | UBIFS: dump a little more in case of corruptions (diff) | |
download | wireguard-linux-ed43f2f06cc1cec7ec2dc235c908530bc8c796eb.tar.xz wireguard-linux-ed43f2f06cc1cec7ec2dc235c908530bc8c796eb.zip |
UBIFS: small amendments in the LEB scanning code
This patch fixes few minor things I've spotted while going through
code:
1. Better document return codes
2. If 'ubifs_scan_a_node()' returns some thing we do not expect,
treat this as an error.
3. Try to do recovery only when 'ubifs_scan()' returns %-EUCLEAN,
not on any error.
4. If empty space starts at a non-aligned address, print a message.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Adrian Hunter <Adrian.Hunter@nokia.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions