]> www.infradead.org Git - users/hch/block.git/commit
block: add a queue_limits_stack_bdev helper
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 10:07:09 +0000 (11:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 07:03:45 +0000 (08:03 +0100)
commit5e6d0b0e0e9a89d21743c5350e08297843e84d0d
tree7d05ae8f9256651c3b4fe6f6978bdefce0995411
parentc131a102079ce74e65748ded213a437aade8135e
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>
block/blk-settings.c
include/linux/blkdev.h