diff options
author | 2023-02-07 15:08:39 +0800 | |
---|---|---|
committer | 2023-02-07 07:21:31 -0700 | |
commit | 1972d038a5401781377d3ce2d901bf7763a43589 (patch) | |
tree | 7ed2cca44a2cbcf2a44ab48bb2aa4eea34ffac99 /scripts/lib/kdoc/kdoc_files.py | |
parent | ublk: mention WRITE_ZEROES in comment of ublk_complete_rq() (diff) | |
download | wireguard-linux-1972d038a5401781377d3ce2d901bf7763a43589.tar.xz wireguard-linux-1972d038a5401781377d3ce2d901bf7763a43589.zip |
ublk: pass NULL to blk_mq_alloc_disk() as queuedata
queuedata is not referenced in ublk_drv and we can use driver_data
instead. Pass NULL to blk_mq_alloc_disk() as queuedata while allocating
ublk's gendisk.
Signed-off-by: Ziyang Zhang <ZiyangZhang@linux.alibaba.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230207070839.370817-4-ZiyangZhang@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions