diff options
author | Brijesh Singh <brijesh.s.singh@gmail.com> | 2007-07-06 07:35:43 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-07-18 09:57:52 -0400 |
commit | 76eafe479ec30dd72b8cf209c4f576eac3c93112 (patch) | |
tree | 68fa0b8943e8629a9208951a2d8dede4b8de17e6 /include | |
parent | 2f176f79877937082ce052977e552a75e23a73d1 (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions