block: rename bio_iov_iter_get_pages_aligned to bio_iov_iter_get_pages

Now that the bio_iov_iter_get_pages is free again, use it instead of
the more complicated now.  Also drop the unused export.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Christoph Hellwig
2025-10-07 11:06:26 +02:00
committed by Jens Axboe
parent 1ed06c8350
commit 82dd5d763c
4 changed files with 5 additions and 6 deletions

View File

@@ -1876,7 +1876,7 @@ static inline int bio_split_rw_at(struct bio *bio,
static inline int bio_iov_iter_get_bdev_pages(struct bio *bio,
struct iov_iter *iter, struct block_device *bdev)
{
return bio_iov_iter_get_pages_aligned(bio, iter,
return bio_iov_iter_get_pages(bio, iter,
bdev_logical_block_size(bdev) - 1);
}