[Ocfs2-devel] [PATCH 6/7] btrfs: Promote to unsigned long long before shifting

Josef Bacik josef at toxicpanda.com
Fri Oct 9 07:18:27 PDT 2020


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 at vger.kernel.org
> Fixes: 53b381b3abeb ("Btrfs: RAID5 and RAID6")
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>

Reviewed-by: Josef Bacik <josef at toxicpanda.com>

Thanks,

Josef



More information about the Ocfs2-devel mailing list