diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-27 14:14:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-29 00:06:16 +0300 |
commit | 5476394aa9f27d670dd2bac426fdb6ac12b12cb3 (patch) | |
tree | b149efd0019d56f653508c7ec89750ea33be213d /block | |
parent | 1beabab88ecee0698ecee7b54afa9cce7046ef96 (diff) | |
download | linux-5476394aa9f27d670dd2bac426fdb6ac12b12cb3.tar.xz |
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