aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/extent-buffer-tests.c
diff options
context:
space:
mode:
authorFeifei Xu <[email protected]>2016-06-01 11:18:24 +0000
committerDavid Sterba <[email protected]>2016-06-02 17:22:49 +0000
commit0ef6447a3d2f014e49069c4da33f905ed803aa2a (patch)
tree4a6640e63442d44d32bedc2a6c854d998bc79872 /fs/btrfs/tests/extent-buffer-tests.c
parentBtrfs: test_check_exists: Fix infinite loop when searching for free space ent... (diff)
downloadkernel-0ef6447a3d2f014e49069c4da33f905ed803aa2a.tar.gz
kernel-0ef6447a3d2f014e49069c4da33f905ed803aa2a.zip
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: Josef Bacik <[email protected]> Reviewed-by: Chandan Rajendra <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
0 files changed, 0 insertions, 0 deletions