]> 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)
commit72a5cff88f07a4b8aa230e8cc26005508f85a7a8
tree558dcb80c86311579b084d9533d29f08cdc4d023
parent0a4de725333dd55e41f26a5440f77f108744f16c
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