History

block: remove bio_iov_iter_get_pages

Switch the only caller to bio_iov_iter_get_pages, and explain why it does not have any alignment requirements.

Christoph Hellwig committed 1 year ago

Commit 1ed06c81 parent 510d7662 files · +5 −6Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/bio.h+0−5
@@ -449,11 +449,6 @@ int bdev_rw_virt(struct block_device *bdev, sector_t sector, void *data, · 448 unmodified lines
449449 int bio_iov_iter_get_pages_aligned(struct bio *bio, struct iov_iter *iter,
450450 unsigned len_align_mask);
451451
452−static inline int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)
453−{
454− return bio_iov_iter_get_pages_aligned(bio, iter, 0);
455−}
456−
457452 void bio_iov_bvec_set(struct bio *bio, const struct iov_iter *iter);
458453 void __bio_release_pages(struct bio *bio, bool mark_dirty);
459454 extern void bio_set_pages_dirty(struct bio *bio);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t