aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-09-20 17:27:33 +0200
committerChristoph Hellwig <hch@lst.de>2022-09-27 14:44:16 +0200
commit18ecd97506ab27d446ad5f7292b620fef3116089 (patch)
tree3ff6b214435774e70de8fe600cad3fa367d33ebd /rust/helpers.c
parentcefa1032f1114845de305f34dbe4c0c96ed6de1c (diff)
nvme-fc: keep ctrl->sqsize in sync with opts->queue_size
Also update the sqsize field when capping the queue size, and remove the check a queue size that is larger than sqsize given that sqsize is only initialized from opts->queue_size. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: James Smart <jsmart2021@gmail.com>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions