diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-27 13:14:01 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-28 15:06:16 -0600 |
commit | 5476394aa9f27d670dd2bac426fdb6ac12b12cb3 (patch) | |
tree | b149efd0019d56f653508c7ec89750ea33be213d /block | |
parent | 1beabab88ecee0698ecee7b54afa9cce7046ef96 (diff) |
block: simplify queue_logical_block_size
queue_logical_block_size is never called with a 0 queue, and the
logical_block_size field in queue_limits is always initialized for
a live queue.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240627111407.476276-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions