Re: [PATCH] mdadm/grow: correct size and chunk_size casting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/27/2018 06:12 AM, Roman Sobanski wrote:
> With commit 4b74a905a67e
> ("mdadm/grow: Component size must be larger than chunk size") mdadm returns
> incorrect message if size given to grow was greater than 2 147 483 647 K.
> Cast chunk_size to "unsigned long long" instead of casting size to "int".
> 
> Signed-off-by: Roman Sobanski <roman.sobanski@xxxxxxxxx>
> ---
>  Grow.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied!

Thanks,
Jes

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux