summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/configfs.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-07-16 11:39:03 +0300
committerJens Axboe <axboe@kernel.dk>2017-07-20 17:41:56 +0300
commitb00c9b7aa06786fc5469783965ff3e2a705a1dec (patch)
treec33506f8a6ab0cbee0312f160d3a21ac6367ff64 /drivers/nvme/target/configfs.c
parent86eea2895d11dde9bf43fa2046331e84154e00f4 (diff)
downloadlinux-b00c9b7aa06786fc5469783965ff3e2a705a1dec.tar.xz
nvme-pci: Fix an error handling path in 'nvme_probe()'
Release resources in the correct order in order not to miss a 'put_device()' if 'nvme_dev_map()' fails. Fixes: b00a726a9fd8 ("NVMe: Don't unmap controller registers on reset") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/configfs.c')
0 files changed, 0 insertions, 0 deletions