[PATCH V2 2/8] Btrfs: Fix integer overflow when calculating bytes_per_bitmap
On ppc64, bytes_per_bitmap will be (65536*8*65536). Hence append UL to fix integer overflow. Reviewed-by: Chandan RajendraSigned-off-by: Feifei Xu --- fs/btrfs/free-space-cache.c | 12 ++--
[PATCH V2 2/8] Btrfs: Fix integer overflow when calculating bytes_per_bitmap
On ppc64, bytes_per_bitmap will be (65536*8*65536). Hence append UL to fix integer overflow. Reviewed-by: Chandan RajendraSigned-off-by: Feifei Xu --- fs/btrfs/free-space-cache.c | 12 ++--