linux/drivers/mtd/ubi
Brijesh Singh 76eafe479e UBI: bugfix in sqnum calculation
Hi,I came across problem of having two leb with same sequence no.This
happens when we continuously write one block again and again and reboot
machine before background thread erases those blocks.
The problem here was,when we find two blocks with same sequence no,we take
the higher one,but we were not updating max seq no,so next block may have
the same seqnum.
This patch solves this problem.

Signed-off-by: Brijesh Singh <brijesh.s.singh@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-07-18 16:57:52 +03:00
..
build.c UBI: fix message 2007-07-18 16:56:13 +03:00
cdev.c UBI: cleanup ioctl handling 2007-07-18 16:53:36 +03:00
debug.c UBI: bugfix in error path 2007-07-18 16:55:55 +03:00
debug.h UBI: bugfix in error path 2007-07-18 16:55:55 +03:00
eba.c UBI: fix bug in atomic_leb_change() 2007-07-18 16:56:24 +03:00
gluebi.c UBI: set correct gluebi device size 2007-07-18 16:52:51 +03:00
io.c UBI: fix signed-unsigned multiplication 2007-07-18 16:57:34 +03:00
kapi.c UBI: do not let to read too much 2007-07-18 16:52:42 +03:00
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
scan.c UBI: bugfix in sqnum calculation 2007-07-18 16:57:52 +03:00
scan.h UBI: fix error path in create_vtbl() 2007-07-18 16:52:32 +03:00
ubi.h UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
upd.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
vmt.c UBI: fix debugging stuff 2007-07-18 16:56:05 +03:00
vtbl.c UBI: bugfix in error path 2007-07-18 16:55:55 +03:00
wl.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00