diff options
author | Christoph Hellwig | 2024-04-09 16:37:47 +0200 |
---|---|---|
committer | Martin K. Petersen | 2024-04-12 06:32:01 -0400 |
commit | 84a44a8125742bfa4cdb209d20f50763cafcb103 (patch) | |
tree | 72076d568d98099c80f15451c5368d97d05b893d /samples/vfio-mdev | |
parent | 30efd3823f2c1f8b1a22727247520c75071d339c (diff) |
scsi: uas: Switch to using ->device_configure to configure queue limits
Switch to the ->device_configure method instead of ->slave_alloc and update
the block limits on the passed in queue_limits instead of using the
per-limit accessors.
Note that uas was the only driver setting these size limits from
->slave_alloc and not ->slave_configure and this makes it match everyone
else.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240409143748.980206-23-hch@lst.de
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples/vfio-mdev')
0 files changed, 0 insertions, 0 deletions