From: Michael Jeanson Date: Tue, 14 Dec 2021 20:13:20 +0000 (-0500) Subject: fix: block: don't call blk_status_to_errno in blk_update_request (v5.16) X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=ea49f07b5976c18457df38eaa842c919bcee9889;hp=ea49f07b5976c18457df38eaa842c919bcee9889;p=lttng-modules.git fix: block: don't call blk_status_to_errno in blk_update_request (v5.16) See upstream commit : commit 8a7d267b4a2c71a5ff5dd9046abea7117c7d0ac2 Author: Christoph Hellwig Date: Mon Oct 18 10:45:18 2021 +0200 block: don't call blk_status_to_errno in blk_update_request We only need to call it to resolve the blk_status_t -> errno mapping for tracing, so move the conversion into the tracepoints that are not called at all when tracing isn't enabled. Change-Id: Ic556cee1d82e44a93a1467f55d45b6e17a48d387 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---