nvme: fix kernel paging oops
authorSagi Grimberg <sagi@grimberg.me>
Thu, 13 Dec 2018 20:34:07 +0000 (12:34 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Dec 2018 20:58:23 +0000 (13:58 -0700)
commit092ff0520070fad8407b196f3bb6156ce77a6f98
tree44d10a51b31ed806f0b4ec021d0df02061c6d923
parent2d9a058e3f83dca48b8056148089711c552e2475
nvme: fix kernel paging oops

free the controller discard_page correctly.

Fixes: cb5b7262b011 ("nvme: provide fallback for discard alloc failure")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c