commit 78d7e7ace77ac185637dc93baeccbce0f298217c
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: I8bc66c71db6b469c7adf00ce8b5091513fccb740
Closes-Bug: 1281279
(cherry picked from commit a1d78df1b7c95dbb5024023662932cd94313dd58)
Reviewed: https:/ /review. openstack. org/75354 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=78d7e7ace77 ac185637dc93bae ccbce0f298217c
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 78d7e7ace77ac18 5637dc93baeccbc e0f298217c
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 b5024023662932c d94313dd58)
Closes-Bug: 1281279
(cherry picked from commit a1d78df1b7c95db