]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/mtd/ubi/build.c
UBI: add image sequence number to EC header
[net-next-2.6.git] / drivers / mtd / ubi / build.c
index 286ed594e5a0ec01d87810c004e0511b78385477..db0b9cb64c6ce71adcae019efabe44b0a69dc5ac 100644 (file)
@@ -996,6 +996,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset)
        ubi_msg("number of PEBs reserved for bad PEB handling: %d",
                ubi->beb_rsvd_pebs);
        ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec);
+       ubi_msg("image sequence number: %d", ubi->image_seq);
 
        /*
         * The below lock makes sure we do not race with 'ubi_thread()' which