]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: Call fatal_error from keep-alive timout expiration
authorSagi Grimberg <sagi@grimberg.me>
Sun, 1 Jan 2017 11:18:26 +0000 (13:18 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Jan 2017 15:45:03 +0000 (17:45 +0200)
commit304d529579349a50d1f6a2386ea4f3cdd42ad35e
tree7def47d97c2c99050220ff1e2dabd0b02af37a4c
parent4e219ff1043447d75670e2178011c60e1b934262
nvmet: Call fatal_error from keep-alive timout expiration

We only need to call delete_ctrl once, so given that both
keep-alive timeout and any other fatal error can trigger it,
just make sure we only call delete_ctrl once.

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