diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-26 10:34:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-26 16:53:34 +0300 |
commit | ce210e92238e976143c07a2d19d18c8919cb16a1 (patch) | |
tree | fd793bd43dd0907967f7b133decaa7cd3cfe59a0 /block/blk-lib.c | |
parent | d188b90c48e418e102a1f42872b13dfe386ab6a7 (diff) | |
download | linux-ce210e92238e976143c07a2d19d18c8919cb16a1.tar.xz |
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 <hch@lst.de>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions