]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: cancel fatal error and flush async work before free controller
authorSagi Grimberg <sagi@grimberg.me>
Sun, 1 Jan 2017 11:41:56 +0000 (13:41 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Jan 2017 15:45:00 +0000 (17:45 +0200)
commit4e219ff1043447d75670e2178011c60e1b934262
tree44710470ec93fd7b8400139ff1a33490d6335525
parent63209cff9073239e36e73fb4d09f46956c9327df
nvmet: cancel fatal error and flush async work before free controller

Make sure they are not running and we can free the controller
safely.

Signed-off-by: Roy Shterman <roys@lightbitslabs.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/core.c