summaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-01-23 08:53:56 +0100
committerJens Axboe <axboe@kernel.dk>2023-01-29 15:18:35 -0700
commit9607cd36bb23e1c3271a394407c0caf4f7a207ab (patch)
treeae26de6584f9e03ac855c7ecb543086b0adf8850 /drivers/s390/block
parent1bf7a749efdc5183e83239e030596ef74b9c8b13 (diff)
downloadlinux-stable-9607cd36bb23e1c3271a394407c0caf4f7a207ab.tar.gz
linux-stable-9607cd36bb23e1c3271a394407c0caf4f7a207ab.tar.bz2
linux-stable-9607cd36bb23e1c3271a394407c0caf4f7a207ab.zip
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: Christoph Hellwig <hch@lst.de> Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Link: https://lore.kernel.org/r/20230123075356.60847-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/dcssblk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c
index c0f85ffb2b62..c09f2e053bf8 100644
--- a/drivers/s390/block/dcssblk.c
+++ b/drivers/s390/block/dcssblk.c
@@ -864,10 +864,6 @@ dcssblk_submit_bio(struct bio *bio)
unsigned long source_addr;
unsigned long bytes_done;
- bio = bio_split_to_limits(bio);
- if (!bio)
- return;
-
bytes_done = 0;
dev_info = bio->bi_bdev->bd_disk->private_data;
if (dev_info == NULL)