diff options
author | 2020-01-30 19:40:24 +0100 | |
---|---|---|
committer | 2020-02-04 03:00:25 +0900 | |
commit | cfa27356f835dc7755192e7b941d4f4851acbcc7 (patch) | |
tree | 118e3cacfd3d979d6f4434a9c2479b67a1e7e8df /lib/test_overflow.c | |
parent | nvmet: fix dsm failure when payload does not match sgl descriptor (diff) | |
download | wireguard-linux-cfa27356f835dc7755192e7b941d4f4851acbcc7.tar.xz wireguard-linux-cfa27356f835dc7755192e7b941d4f4851acbcc7.zip |
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/test_overflow.c')
0 files changed, 0 insertions, 0 deletions