summaryrefslogtreecommitdiff
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-29 01:56:41 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-01 18:54:42 +0300
commitc1373f1cf452e4c7553a9d3bc05d87ec15c4f85f (patch)
tree5f44e2107953b9b53f94f2452f45b93fa2509a53 /block/blk-lib.c
parent631d4efb8009df64deae8c1382b8cf43879a4e22 (diff)
downloadlinux-c1373f1cf452e4c7553a9d3bc05d87ec15c4f85f.tar.xz
block: add a queue_limits_stack_bdev helper
Add a small wrapper around blk_stack_limits that allows passing a bdev for the bottom device and prints an error in case of misaligned device. The name fits into the new queue limits API and the intent is to eventually replace disk_stack_limits. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240228225653.947152-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions