diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 3738d245518cad6aea459541cde169d366567555..8dfa181b1a927137689f9c16c4c29c1d2432ece0 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2801,7 +2801,7 @@ static int submit_extent_page(unsigned int opf, struct extent_io_tree *tree, } } - bio = btrfs_bio_alloc(bdev, sector << 9); + bio = btrfs_bio_alloc(bdev, (u64)sector << 9); bio_add_page(bio, page, page_size, offset); bio->bi_end_io = end_io_func; bio->bi_private = tree;