]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme: don't pass struct nvme_ns to nvme_config_discard
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:28:54 +0000 (21:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit30e5e929c7bfaf87a65f926715773ef14339b79f
treec68f29b6e6287b7310086b385d03a3bcd12c6e27
parent39b7baa410fd00a0fe9da864400d95b3d5008de7
nvme: don't pass struct nvme_ns to nvme_config_discard

To allow reusing this function for the multipath node.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c