diff options
author | Christopher Cordahi <christophercordahi@nanometrics.ca> | 2012-12-16 19:59:29 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 09:26:28 +0200 |
commit | e25e0a4de1237972a86e5831c8659c4068ff23f7 (patch) | |
tree | f2f07d4013b65a9c7b7a085bfcfa81c4d853d83f /net/rds | |
parent | b23b746cdcb0792b1268bc338acf29ec27739527 (diff) | |
download | linux-stable-e25e0a4de1237972a86e5831c8659c4068ff23f7.tar.gz linux-stable-e25e0a4de1237972a86e5831c8659c4068ff23f7.tar.bz2 linux-stable-e25e0a4de1237972a86e5831c8659c4068ff23f7.zip |
mtd: cmdlinepart: fix skipping zero sized partition
Decrement index i after skipping a zero sized partition. On next loop
iteration, the index will be the same as before, but the data will be
new as it was moved when earlier partition was skipped.
Signed-off-by: Christopher Cordahi <christophercordahi@nanometrics.ca>
Acked-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions