Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23bd63ce authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Jens Axboe
Browse files

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: default avatarWang Sheng-Hui <shhuiw@foxmail.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 3b24774e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment