summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-01-30 21:40:24 +0300
committerKeith Busch <kbusch@kernel.org>2020-02-03 21:00:25 +0300
commitcfa27356f835dc7755192e7b941d4f4851acbcc7 (patch)
tree118e3cacfd3d979d6f4434a9c2479b67a1e7e8df /lib/mpi/mpiutil.c
parentb716e6889c95f64ba32af492461f6cc9341f3f05 (diff)
downloadlinux-cfa27356f835dc7755192e7b941d4f4851acbcc7.tar.xz
nvme-pci: remove nvmeq->tags
There is no real need to have a pointer to the tagset in struct nvme_queue, as we only need it in a single place, and that place can derive the used tagset from the device and qid trivially. This fixes a problem with stale pointer exposure when tagsets are reset, and also shrinks the nvme_queue structure. It also matches what most other transports have done since day 1. Reported-by: Edmund Nadolski <edmund.nadolski@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions