summaryrefslogtreecommitdiffstats
path: root/Documentation/process
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2018-01-14 18:34:22 +0200
committerChristoph Hellwig <hch@lst.de>2018-01-15 17:09:32 +0100
commit423b4487fb23cc9bcbf14f748915bff46151506a (patch)
tree6e3e3f3451c52fff9bcfeb405d7e5141e7286431 /Documentation/process
parentdf351ef73789345b4b6c00434c5fd1fca7175643 (diff)
downloadlinux-423b4487fb23cc9bcbf14f748915bff46151506a.tar.bz2
nvmet: release a ns reference in nvmet_req_uninit if needed
nvmet_req_init looked up a namespace and took a reference on it (unless it failed prior to that). If the request is uninitialized (in error cases) we need to remove that reference in case it was taken, otherwise we leak namespace reference when calling nvme_req_uninit. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/process')
0 files changed, 0 insertions, 0 deletions