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.13.0-rc1~208 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=3441e48eaf89229d8d76c13495d2c6cebad2fc51;hp=3441e48eaf89229d8d76c13495d2c6cebad2fc51;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 ---