]> Git Repo - linux.git/commit
ide-pm: always pass 0 error to __blk_end_request_all
authorChristoph Hellwig <[email protected]>
Wed, 26 Apr 2017 07:34:21 +0000 (09:34 +0200)
committerJens Axboe <[email protected]>
Wed, 26 Apr 2017 13:53:34 +0000 (07:53 -0600)
commitce210e92238e976143c07a2d19d18c8919cb16a1
treefd793bd43dd0907967f7b133decaa7cd3cfe59a0
parentd188b90c48e418e102a1f42872b13dfe386ab6a7
ide-pm: always pass 0 error to __blk_end_request_all

ide_pm_execute_rq exectures a PM request synchronously, and in the failure
case where it calls __blk_end_request_all it never checks the error field
passed to the end_io callback, so don't bother setting it.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/ide/ide-pm.c
This page took 0.053829 seconds and 4 git commands to generate.