partitions: aix.c: off by one bug
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Aug 2014 08:09:59 +0000 (11:09 +0300)
committerJens Axboe <axboe@fb.com>
Tue, 5 Aug 2014 19:13:24 +0000 (13:13 -0600)
commitd97a86c170b4e432f76db072a827fe30b4d6f659
tree7a494e353fb71dcfbe396bc827f53f82f7acd268
parent2a1b4cf2331d92bc009bf94fa02a24604cdaf24c
partitions: aix.c: off by one bug

The lvip[] array has "state->limit" elements so the condition here
should be >= instead of >.

Fixes: 6ceea22bbbc8 ('partitions: add aix lvm partition support files')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/partitions/aix.c