commit | 05017db3b3e0f0a294a38c38d7adb7d2c0c9844b | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Dec 24 15:23:43 2007 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Dec 24 15:23:43 2007 +0100 |
tree | 2102a110659301020338469fc2886ae6f1371d0b | |
parent | aa5dc8ebd9ef7521461b1b47ec918be841a21313 [diff] |
ide-cd: use ide_cd_release() in ide_cd_probe() Use ide_cd_release() to do the cleanup if ide_cdrom_setup() fails. It fixes: - the default drive->dsc_overlap value not being restored - the default drive->queue's prep_rq_fn not being restored - struct gendisk 'g' not being freed - wrong function name being reported on unregister_cdrom() error Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>