commit | b5479167f4206e0d821a51ae149d921cd7a58e54 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Mar 31 20:15:25 2009 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Mar 31 20:15:25 2009 +0200 |
tree | 3303f6e1b4b42a08fec46123814d84ea339ccfcd | |
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>