Re: [PATCH 6/7] btrfs: Promote to unsigned long long before shifting

From: Josef Bacik
Date: Fri Oct 09 2020 - 10:18:33 EST


On 10/4/20 2:04 PM, Matthew Wilcox (Oracle) wrote:
On 32-bit systems, this shift will overflow for files larger than 4GB.

Cc: stable@xxxxxxxxxxxxxxx
Fixes: 53b381b3abeb ("Btrfs: RAID5 and RAID6")
Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef