]> www.infradead.org Git - users/hch/misc.git/commit
nvmet-fcloop: update refs on tfcp_req
authorDaniel Wagner <wagi@kernel.org>
Wed, 7 May 2025 12:23:01 +0000 (14:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 May 2025 14:03:11 +0000 (16:03 +0200)
commitad1ce40796156959b7bc1388929efaf8536d8c33
tree7732f5808f6a45f4f0010b18c460256b11456fbb
parent4325b02eeea6c435886fd5fd804f5c4124ea6925
nvmet-fcloop: update refs on tfcp_req

Track the lifetime of the in-flight tfcp_req to ensure
the object is not freed too early.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fcloop.c