]> git.baikalelectronics.ru Git - kernel.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)
commit98e691fd33880caf048b640f81d154f610bbe31c
treec68f29b6e6287b7310086b385d03a3bcd12c6e27
parent530acb3e7dbda704c653abab41cdf42487669c7b
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