ide-floppy: do not complete rq's prematurely
authorBorislav Petkov <petkovbb@gmail.com>
Tue, 31 Mar 2009 18:15:34 +0000 (20:15 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:34 +0000 (20:15 +0200)
commit5b6c942dd1f13835eff8105ec2aa859544a1498d
tree50eb55d12e53ed1d3b0d2442d6f151265cf9f38f
parentd80c592c38378c88c568b96963f7a98d927d05fa
ide-floppy: do not complete rq's prematurely

... and access them afterwards. Simplify rq completing code while at it.

Spotted-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c