nvme-pci: fix psdt field for single segment sgls
authorKlaus Birkelund Jensen <klaus@birkelund.eu>
Tue, 30 Apr 2019 16:53:29 +0000 (18:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:16 +0000 (09:17 -0400)
commit049bf37262c61c99f45438910711b55054b24838
treee73a2513af5de451359b6c84a0e55a32fd6a7d93
parent592b6e7b0226b198c12439065f725be00c92d559
nvme-pci: fix psdt field for single segment sgls

The shortcut for single segment SGL requests did not set the PSDT field
to mark the request as using SGLs.

Fixes: 297910571f08 ("nvme-pci: optimize mapping single segment requests using SGLs")
Signed-off-by: Klaus Birkelund Jensen <klaus.jensen@cnexlabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c