Christoph Hellwig
52c5e62d4c
block: bio_check_eod() needs to consider partitions
...
bio_check_eod() should check partition size not the whole disk if
bio->bi_partno is non-zero. Do this by moving the call
to bio_check_eod() into blk_partition_remap().
Based on an earlier patch from Jiufei Xue.
Fixes: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index")
Reported-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-17 14:48:04 -06:00
..
2018-01-10 09:12:16 -07:00
2017-11-03 11:29:50 -07:00
2018-01-09 08:45:25 -07:00
2018-02-07 15:17:46 -07:00
2018-01-18 08:21:37 -07:00
2018-01-18 08:21:37 -07:00
2018-01-17 09:59:33 -07:00
2018-01-29 11:51:49 -08:00
2018-03-16 10:35:12 -06:00
2018-03-17 14:48:04 -06:00
2018-01-17 09:49:21 -07:00
2017-11-04 12:40:13 -06:00
2017-06-09 09:27:32 -06:00
2017-11-02 11:10:55 +01:00
2018-01-18 12:57:19 -07:00
2018-01-29 11:51:49 -08:00
2018-02-01 14:01:02 -07:00
2017-07-24 10:01:31 -06:00
2018-03-17 14:41:17 -06:00
2017-11-02 11:10:55 +01:00
2017-08-18 08:08:14 -06:00
2017-08-08 14:58:03 -04:00
2018-02-01 14:45:11 -07:00
2018-01-17 09:49:21 -07:00
2018-01-15 08:41:38 -07:00
2017-12-22 11:09:37 -07:00
2017-11-14 15:32:19 -08:00
2017-02-27 20:54:05 +02:00
2018-03-08 14:13:48 -07:00
2018-01-19 12:51:59 -07:00
2018-03-08 14:13:48 -07:00
2017-11-02 11:10:55 +01:00
2018-03-08 14:13:48 -07:00
2017-11-02 11:10:55 +01:00
2018-03-08 14:13:48 -07:00
2017-11-02 11:10:55 +01:00
2018-01-29 11:51:49 -08:00
2018-03-08 14:13:48 -07:00
2018-02-06 14:14:03 -07:00
2017-11-02 11:10:55 +01:00
2018-03-09 08:23:32 -07:00
2018-03-08 14:13:48 -07:00
2018-01-29 11:51:49 -08:00
2018-03-13 11:40:24 -06:00
2018-03-13 11:40:24 -06:00
2017-09-08 18:26:49 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-05 09:22:17 -07:00
2018-01-18 12:54:42 -07:00
2018-02-26 09:48:42 -07:00
2018-02-23 15:20:19 -07:00
2017-06-21 11:46:07 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-24 15:55:54 -07:00
2017-11-02 11:10:55 +01:00
2018-01-06 09:23:11 -07:00
2017-01-17 10:03:33 -07:00
2017-09-11 09:45:52 -06:00
2017-11-02 11:10:55 +01:00
2018-01-10 12:30:37 -07:00
2018-03-16 10:15:27 -06:00
2017-07-03 16:56:25 -06:00