Commit 9607cd36 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

s390/dcssblk:: don't call bio_split_to_limits

s390 iterates over the bio using bio_for_each_segment and doesn't need
any bio splitting.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20230123075356.60847-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1bf7a749
...@@ -864,10 +864,6 @@ dcssblk_submit_bio(struct bio *bio) ...@@ -864,10 +864,6 @@ dcssblk_submit_bio(struct bio *bio)
unsigned long source_addr; unsigned long source_addr;
unsigned long bytes_done; unsigned long bytes_done;
bio = bio_split_to_limits(bio);
if (!bio)
return;
bytes_done = 0; bytes_done = 0;
dev_info = bio->bi_bdev->bd_disk->private_data; dev_info = bio->bi_bdev->bd_disk->private_data;
if (dev_info == NULL) if (dev_info == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment