aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2009-03-20 11:09:04 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-03-31 14:58:40 +0300
commitde0975781a1a8bc92e07eb7681d10ef9bb5e6df9 (patch)
tree0612ff6bcb230a317013ae0796606640dc862bb7 /fs/ubifs/super.c
parent963f0cf6d116d83c558a8efe9045c1c5ad7aed34 (diff)
downloadkernel_samsung_aries-de0975781a1a8bc92e07eb7681d10ef9bb5e6df9.zip
kernel_samsung_aries-de0975781a1a8bc92e07eb7681d10ef9bb5e6df9.tar.gz
kernel_samsung_aries-de0975781a1a8bc92e07eb7681d10ef9bb5e6df9.tar.bz2
UBIFS: fix recovery bug
UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Diffstat (limited to 'fs/ubifs/super.c')
0 files changed, 0 insertions, 0 deletions