commit | 09c2c359be546df45be0b158ea1d3cc8ea83c876 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Sep 11 09:46:49 2017 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 11 09:46:49 2017 -0600 |
tree | cd686e4707bc782debea2ad4ba6dbf8cad5b3048 | |
parent | dbec491b12b52888d120e5be8f15886b3216eb19 [diff] |
block: fix integer overflow in __blkdev_sectors_to_bio_pages() Fix possible integer overflow in __blkdev_sectors_to_bio_pages if sector_t is 32-bit. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: 615d22a51c04 ("block: Fix __blkdev_issue_zeroout loop") Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>