]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: remove BUG() from ide_complete_rq()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:44 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:44 +0000 (12:46 +0100)
commita9587fd8c48415cc93fef7f4ba7748a5d3477e7b
tree310e6d5859c65a4b00395a5922e834defde06bcd
parent89f78b3261f7e331e41753ea2459fbb9b60a6f7a
ide: remove BUG() from ide_complete_rq()

It is no longer needed so remove it, also while at it dequeue the request
only on blk_end_request() success and make ide_complete_rq() return an error
value.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
include/linux/ide.h