diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-30 09:11:59 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-05 11:47:08 -0400 |
commit | fe96efc1a3c049f0a1bcd9b65e0faeb751ce5ec6 (patch) | |
tree | 5c750ab134bb1037eeaf5baa8d9eee6196566226 /drivers/mtd/ubi/ubi.h | |
parent | 0c6c7fa1313fcb69cae35e34168d2e83b8da854a (diff) |
UBI: nicify image sequence number handling
Move the image seq. number handling from I/O level to the scanning
lever, where it really belongs to. Move the @image_seq_set variable
to the @struct ubi_scan_info structure, which exists only during
scanning.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index bb372c4222b7..64604e8809ec 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -302,7 +302,6 @@ struct ubi_wl_entry; | |||
302 | * @vol->ref_count, @vol->mapping and @vol->eba_tbl. | 302 | * @vol->ref_count, @vol->mapping and @vol->eba_tbl. |
303 | * @ref_count: count of references on the UBI device | 303 | * @ref_count: count of references on the UBI device |
304 | * @image_seq: image sequence number recorded on EC headers | 304 | * @image_seq: image sequence number recorded on EC headers |
305 | * @image_seq_set: indicates @image_seq is known | ||
306 | * | 305 | * |
307 | * @rsvd_pebs: count of reserved physical eraseblocks | 306 | * @rsvd_pebs: count of reserved physical eraseblocks |
308 | * @avail_pebs: count of available physical eraseblocks | 307 | * @avail_pebs: count of available physical eraseblocks |
@@ -393,7 +392,6 @@ struct ubi_device { | |||
393 | spinlock_t volumes_lock; | 392 | spinlock_t volumes_lock; |
394 | int ref_count; | 393 | int ref_count; |
395 | int image_seq; | 394 | int image_seq; |
396 | int image_seq_set; | ||
397 | 395 | ||
398 | int rsvd_pebs; | 396 | int rsvd_pebs; |
399 | int avail_pebs; | 397 | int avail_pebs; |