Skip to content
Commit 2b6cabce authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Jens Axboe
Browse files

pcd: fix ordering of unregister_cdrom()



We first register cdrom and then we add_disk() and
so we we should likewise unregister the cdrom first and
then del_gendisk().

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4dfbd139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment