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
crush
Kconfig -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 393 bytes
armor.c -rw-r--r-- 1.9 KB
auth.c -rw-r--r-- 7.4 KB
auth_none.c -rw-r--r-- 3.0 KB
auth_none.h -rw-r--r-- 464 bytes
auth_x.c -rw-r--r-- 19.6 KB
auth_x.h -rw-r--r-- 980 bytes
auth_x_protocol.h -rw-r--r-- 1.7 KB
buffer.c -rw-r--r-- 1.2 KB
ceph_common.c -rw-r--r-- 18.7 KB
ceph_fs.c -rw-r--r-- 2.5 KB
ceph_hash.c -rw-r--r-- 2.8 KB
ceph_strings.c -rw-r--r-- 1.2 KB
cls_lock_client.c -rw-r--r-- 10.3 KB
crypto.c -rw-r--r-- 7.8 KB
crypto.h -rw-r--r-- 1002 bytes
debugfs.c -rw-r--r-- 12.6 KB
messenger.c -rw-r--r-- 86.1 KB
mon_client.c -rw-r--r-- 32.4 KB
msgpool.c -rw-r--r-- 2.0 KB
osd_client.c -rw-r--r-- 136.9 KB
osdmap.c -rw-r--r-- 60.9 KB
pagelist.c -rw-r--r-- 3.6 KB
pagevec.c -rw-r--r-- 4.0 KB
snapshot.c -rw-r--r-- 2.2 KB
string_table.c -rw-r--r-- 2.2 KB

back to top