ps3disk: simplify request completion
authorTejun Heo <tj@kernel.org>
Tue, 28 Apr 2009 04:06:07 +0000 (13:06 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 06:14:50 +0000 (08:14 +0200)
commitcd4c34ebec155e5c10f897d9bebf618248121e70
tree17baaee04a3b360fdc4a85ca53f31b7d92475bdd
parent5b5c5d12b91cb6b2a2967f06aef35d59008dc2e7
ps3disk: simplify request completion

ps3disk_interrupt() always completes requests fully but it uses
rq->hard_cur_sectors for FLUSH requests for some reason.  Drop them
and simply use __blk_end_request_all().

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/ps3disk.c