Revision b00c9b7aa06786fc5469783965ff3e2a705a1dec authored by Christophe JAILLET on 16 July 2017, 08:39:03 UTC, committed by Jens Axboe on 20 July 2017, 14:41:56 UTC
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>
1 parent 86eea28
History
File Mode Size
asm
linux
ringtest
uapi
vhost_test
virtio-trace
.gitignore -rw-r--r-- 28 bytes
Makefile -rw-r--r-- 594 bytes
virtio_test.c -rw-r--r-- 6.7 KB
vringh_test.c -rw-r--r-- 19.8 KB

back to top