ide-cd: use ide_end_rq() also for failed non-fs requests
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:00 +0000 (20:15 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:00 +0000 (20:15 +0200)
commitbf12a9c1c95e1b0204fc2fc9fe625a056e284f5a
tree90ed96211a84a302b269d1dfdfb96eba56bccbf2
parent116e690f4e69ce0458a9be7010c80b59eb7a99d8
ide-cd: use ide_end_rq() also for failed non-fs requests

Use ide_end_rq() also for failed non-fs requests on completion
of REQUEST SENSE requests + use blk_rq_bytes() while at it.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c