summaryrefslogtreecommitdiffstats
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-20 11:51:21 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-21 11:20:37 +0300
commitdf3fca4cdddfa6e1f51b65214d4342660649bd1f (patch)
tree13389da659d8d2235f8a56f7e263f11bced19fc6 /include/linux/cdev.h
parentfb22b59b2c38054cc847f6acc5c46daa26dc6dd3 (diff)
downloadtalos-obmc-linux-df3fca4cdddfa6e1f51b65214d4342660649bd1f.tar.gz
talos-obmc-linux-df3fca4cdddfa6e1f51b65214d4342660649bd1f.zip
UBI: fix check_data_ff return code
When the data does not contain all 0xFF bytes, 'check_data_ff()' should return 1, not -EINVAL; Also, the caller ('process_eb()') should not add the PEB to the "corrupted" list if there was a read error. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud