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-tape.c | |
parent | 4465461ece2b9249d6c0cf57bc0002100823e361 (diff) |
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-tape.c')
0 files changed, 0 insertions, 0 deletions