From: Michael Jeanson Date: Wed, 26 Jan 2022 19:37:52 +0000 (-0500) Subject: fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17) X-Git-Tag: v2.13.2~5 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=c8f96e7716404549b19b9a774f5d9987325608bc;hp=c8f96e7716404549b19b9a774f5d9987325608bc;p=lttng-modules.git fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17) See upstream commit : commit 2e4e97abac4c95f8b87b2912ea013f7836a6f10b Author: Josef Bacik Date: Fri Nov 5 16:45:29 2021 -0400 btrfs: pass fs_info to trace_btrfs_transaction_commit The root on the trans->root can be anything, and generally we're committing from the transaction kthread so it's usually the tree_root. Change this to just take an fs_info, and to maintain compatibility simply put the ROOT_TREE_OBJECTID as the root objectid for the tracepoint. This will allow use to remove trans->root. Change-Id: Ie5a4804330edabffac0714fcb9c25b8c8599e424 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---