nvme: Use metadata for passthrough commands
authorKeith Busch <keith.busch@intel.com>
Tue, 29 Aug 2017 21:46:04 +0000 (17:46 -0400)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2017 12:59:35 +0000 (14:59 +0200)
commit63263d60e0f9f37bfd5e6a1e83a62f0e62fc459f
tree417cf5f24aff669c5a291276d8512c4ca820c4b1
parent485783ca63e3a47fa5a30df8c6745a6299607e4d
nvme: Use metadata for passthrough commands

The ioctls' struct allows the user to provide a metadata address and
length for a passthrough command. This patch uses these values that were
previously ignored and deletes the now unused wrapper function.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c