diff options
-rw-r--r-- | block/partitions/aix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/aix.c b/block/partitions/aix.c index 0a6ed546331d..f3ed7b2d89bf 100644 --- a/block/partitions/aix.c +++ b/block/partitions/aix.c | |||
@@ -253,7 +253,7 @@ int aix_partition(struct parsed_partitions *state) | |||
253 | continue; | 253 | continue; |
254 | } | 254 | } |
255 | lv_ix = be16_to_cpu(p->lv_ix) - 1; | 255 | lv_ix = be16_to_cpu(p->lv_ix) - 1; |
256 | if (lv_ix > state->limit) { | 256 | if (lv_ix >= state->limit) { |
257 | cur_lv_ix = -1; | 257 | cur_lv_ix = -1; |
258 | continue; | 258 | continue; |
259 | } | 259 | } |