Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2f3cdb55eef4fa1398965e893f731fb6e6312d34
Commit:     2f3cdb55eef4fa1398965e893f731fb6e6312d34
Parent:     76eafe479ec30dd72b8cf209c4f576eac3c93112
Author:     Artem Bityutskiy <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 6 14:38:46 2007 +0300
Committer:  Artem Bityutskiy <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 16:58:02 2007 +0300

    UBI: bugfix in max_sqnum calculation
    
    Do not zero max_sqnum after a new volume has been found.
    
    Signed-off-by: Artem Bityutskiy <[EMAIL PROTECTED]>
---
 drivers/mtd/ubi/scan.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c
index ce26b1b..94ee549 100644
--- a/drivers/mtd/ubi/scan.c
+++ b/drivers/mtd/ubi/scan.c
@@ -222,7 +222,6 @@ static struct ubi_scan_volume *add_volume(struct 
ubi_scan_info *si, int vol_id,
                return ERR_PTR(-ENOMEM);
 
        sv->highest_lnum = sv->leb_count = 0;
-       si->max_sqnum = 0;
        sv->vol_id = vol_id;
        sv->root = RB_ROOT;
        sv->used_ebs = be32_to_cpu(vid_hdr->used_ebs);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to