From: Michael Jeanson Date: Mon, 15 Jun 2020 15:06:13 +0000 (-0400) Subject: fix: block: remove the error argument to the block_bio_complete (v5.8) X-Git-Tag: v2.12.2~16 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=fd3d2e7837394550f2600f17833ed8e4a699730b;hp=fd3d2e7837394550f2600f17833ed8e4a699730b;p=lttng-modules.git fix: block: remove the error argument to the block_bio_complete (v5.8) See upstream commit: commit d24de76af836260a99ca2ba281a937bd5bc55591 Author: Christoph Hellwig Date: Wed Jun 3 07:14:43 2020 +0200 block: remove the error argument to the block_bio_complete tracepoint The status can be trivially derived from the bio itself. That also avoid callers like NVMe to incorrectly pass a blk_status_t instead of the errno, and the overhead of translating the blk_status_t to the errno in the I/O completion fast path when no tracing is enabled. Fixes: 35fe0d12c8a3 ("nvme: trace bio completion") Change-Id: I8d1463184d79bfab418a1755bfc6a0200170fff3 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---