Richard Retanubun 5097083971 part_efi: Fix partition size calculation due to inclusive ending LBA.
The ending LBA is inclusive. Hence, the partition size should be
((ending-LBA + 1) - starting-LBA) to get the proper partition size.

This is confirmed against the results from the parted tool.
(e.g. use parted /dev/sda -s unit S print) and observe the size.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-01-27 23:03:57 +01:00
..
2003-06-27 21:31:46 +00:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2003-06-27 21:31:46 +00:00
2008-10-18 21:54:03 +02:00