Home
last modified time | relevance | path

Searched hist:af3e3a52 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dbio.caf3e3a52 Fri Mar 11 10:34:50 CST 2016 Christoph Hellwig <hch@lst.de> 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>
af3e3a52 Fri Mar 11 10:34:50 CST 2016 Christoph Hellwig <hch@lst.de> 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>