commit | 23bd63ceea30878758c303baaf9f8e28f299c578 | [log] [tgz] |
---|---|---|
author | Wang Sheng-Hui <shhuiw@foxmail.com> | Thu Apr 28 16:19:31 2016 +0800 |
committer | Jens Axboe <axboe@fb.com> | Mon May 02 09:05:03 2016 -0600 |
tree | 373bab032999a0e13188b7b2f0fe391b6374d41a | |
parent | 3b24774e1fb90a40836e96e39a851a774679efff [diff] |
NVMe: nvme_core_exit() should do cleanup in the reverse order as nvme_core_init does nvme_core_init does: 1) register_blkdev 2) __register_chrdev 3) class_create nvme_core_exit should do cleanup in the reverse order. Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>