]> 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)
commit948e1d89192100a068ff92432564022c63cfc2a1
treec68f29b6e6287b7310086b385d03a3bcd12c6e27
parent71b107e2ed1eeb133300f510cc41469e93e1cbb6
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