diff options
author | 2007-12-24 15:23:43 +0100 | |
---|---|---|
committer | 2007-12-24 15:23:43 +0100 | |
commit | 05017db3b3e0f0a294a38c38d7adb7d2c0c9844b (patch) | |
tree | 2102a110659301020338469fc2886ae6f1371d0b /fs/stack.c | |
parent | ide-cd: fix ACER/AOpen 24X CDROM speed reporting on big-endian machines (diff) | |
download | linux-rng-05017db3b3e0f0a294a38c38d7adb7d2c0c9844b.tar.xz linux-rng-05017db3b3e0f0a294a38c38d7adb7d2c0c9844b.zip |
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>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions