Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information