diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 20:15:25 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 20:15:25 +0200 |
commit | b5479167f4206e0d821a51ae149d921cd7a58e54 (patch) | |
tree | 3303f6e1b4b42a08fec46123814d84ea339ccfcd /drivers/ide/ide-floppy_ioctl.c | |
parent | ide: merge ide_arm and ide_generic host drivers (diff) | |
download | linux-b5479167f4206e0d821a51ae149d921cd7a58e54.tar.xz linux-b5479167f4206e0d821a51ae149d921cd7a58e54.zip |
ide: fix locking in drive_release_dev()
* Request queue cleanup should happen before freeing drive->id
and marking device as non-present. Fix it.
* Remove superfluous hwif->lock acquiring/releasing.
Cc: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-floppy_ioctl.c')
0 files changed, 0 insertions, 0 deletions