UBI: nicify image sequence number handling
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Jun 2009 13:11:59 +0000 (16:11 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 10 Jul 2009 09:16:28 +0000 (12:16 +0300)
commit7c92faeb5d9da8c1592af0ac8a4e6fa895f07183
tree58cb21ec92bdc47bae4aa90afaa8ed5608931fad
parent265f4a46d7e9aeef4a21d357c6fb06c130f6e067
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>
drivers/mtd/ubi/io.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/scan.h
drivers/mtd/ubi/ubi.h