Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

block: remove bdev_iter_is_aligned

No more callers.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Keith Busch and committed by
Jens Axboe
9eab1d4e 7eac3318

-7
-7
include/linux/blkdev.h
··· 1590 1590 return queue_dma_alignment(bdev_get_queue(bdev)); 1591 1591 } 1592 1592 1593 - static inline bool bdev_iter_is_aligned(struct block_device *bdev, 1594 - struct iov_iter *iter) 1595 - { 1596 - return iov_iter_is_aligned(iter, bdev_dma_alignment(bdev), 1597 - bdev_logical_block_size(bdev) - 1); 1598 - } 1599 - 1600 1593 static inline unsigned int 1601 1594 blk_lim_dma_alignment_and_pad(struct queue_limits *lim) 1602 1595 {