[rhel6-branch 2/2] Align end sector in the appropriate direction for resize. (#1236506)