Skip to content
Commit 84fe64f8 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvmet: don't look at the request_queue in nvmet_bdev_set_limits



nvmet is a consumer of the block layer and should not directly look at
the request_queue.  Use the bdev_ helpers to retrieve the device limits
instead.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
parent 8df20252
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment