From: Brijesh Singh Date: Fri, 6 Jul 2007 11:35:43 +0000 (+0300) Subject: UBI: bugfix in sqnum calculation X-Git-Tag: v2.6.23-rc1~495^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76eafe479ec30dd72b8cf209c4f576eac3c93112;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed