]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-fc: on port remove call put outside lock
authorJames Smart <jsmart2021@gmail.com>
Tue, 19 Sep 2017 22:13:11 +0000 (15:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 18:42:11 +0000 (12:42 -0600)
commit592b4d868b1043f95644f71f882958c623ff331a
tree558dcb80c86311579b084d9533d29f08cdc4d023
parentf55736ebc7b39f70a7cf3a249a7ac54417fae2fa
nvmet-fc: on port remove call put outside lock

Avoid calling the put routine, as it may traverse to free routines while
holding the target lock.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/fc.c