commit | af3e3a5259e35d7056fbe568a0ffcbd1420e1742 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Mar 11 17:34:50 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Mon Mar 14 08:55:21 2016 -0600 |
tree | a6d55bcb5428401bc0d0b93f250eee620a7d3185 | |
parent | 3684aa7099e0ab1038a1a1bf717ae60ffc3018d1 [diff] |
block: don't unecessarily clobber bi_error for chained bios Only overwrite the parents bi_error if it was zero. That way a successful bio completion doesn't reset the error pointer. Reported-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>