]> git.baikalelectronics.ru Git - kernel.git/commit
block: introduce bdev_iter_is_aligned helper
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:28 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit8121448b8b93ba05032d2876bf6418cd634a6161
treea803cd5866331f2816aba1d5576c4d80c34285a4
parent7ad0b0fce789b9616de5e76d52e409a0b04bf8e0
block: introduce bdev_iter_is_aligned helper

Provide a convenient function for this repeatable coding pattern.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-10-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h