Re: [PATCH] partitions/efi: Fix off-by-one error in 'last_lba'

2014-11-11 Thread Sascha Hauer
On Mon, Nov 10, 2014 at 09:44:00AM -0800, Andrey Smirnov wrote: > LBAs are numbered starting from zero so the last LBA # would be equal > to total number of blocks minus one. > > Signed-off-by: Andrey Smirnov Applied, thanks. > --- > common/partitions/efi.c | 4 ++-- > 1 file changed, 2 inser

[PATCH] partitions/efi: Fix off-by-one error in 'last_lba'

2014-11-10 Thread Andrey Smirnov
LBAs are numbered starting from zero so the last LBA # would be equal to total number of blocks minus one. Signed-off-by: Andrey Smirnov --- common/partitions/efi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/partitions/efi.c b/common/partitions/efi.c index dcb