diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-23 08:53:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 15:18:35 -0700 |
commit | 9607cd36bb23e1c3271a394407c0caf4f7a207ab (patch) | |
tree | ae26de6584f9e03ac855c7ecb543086b0adf8850 /drivers/s390/block | |
parent | 1bf7a749efdc5183e83239e030596ef74b9c8b13 (diff) | |
download | linux-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.c | 4 |
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) |