commit a1d78df1b7c95dbb5024023662932cd94313dd58
Author: Andrew Kerr <email address hidden>
Date: Tue Feb 18 17:38:12 2014 -0500
Ensures NetApp iSCSI driver correctly compares int values for size
The NetApp iSCSI driver needs to verify that the new size requested
during an extend operation does not exceed the max_resize of the
lun. However, the driver was doing a >= compare against str values
of the sizes rather than the int values. This caused the incorrect
code path to be used in certain situations.
Reviewed: https:/ /review. openstack. org/74524 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=a1d78df1b7c 95dbb5024023662 932cd94313dd58
Committed: https:/
Submitter: Jenkins
Branch: master
commit a1d78df1b7c95db b5024023662932c d94313dd58
Author: Andrew Kerr <email address hidden>
Date: Tue Feb 18 17:38:12 2014 -0500
Ensures NetApp iSCSI driver correctly compares int values for size
The NetApp iSCSI driver needs to verify that the new size requested
during an extend operation does not exceed the max_resize of the
lun. However, the driver was doing a >= compare against str values
of the sizes rather than the int values. This caused the incorrect
code path to be used in certain situations.
Change-Id: I8bc66c71db6b46 9c7adf00ce8b509 1513fccb740
Closes-Bug: 1281279