File remove_fsid_from_btrfs_info.patch of Package lttng-modules
From: Tony Jones <tonyj@suse.de>
Subject: remove fsid from btrfs_info
Signed-off-by: Tony Jones <tonyj@suse.de>
References: none
Handle patches.suse/0002-btrfs-Remove-fsid-metadata_fsid-fields-from-btrfs_in.patch (not upstream)
---
instrumentation/events/lttng-module/btrfs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/instrumentation/events/lttng-module/btrfs.h
+++ b/instrumentation/events/lttng-module/btrfs.h
@@ -350,7 +350,7 @@ LTTNG_TRACEPOINT_EVENT(btrfs_add_block_g
TP_ARGS(fs_info, block_group, create),
TP_FIELDS(
- ctf_array(u8, fsid, fs_info->fsid, BTRFS_UUID_SIZE)
+ ctf_array(u8, fsid, fs_info->fs_devices->fsid, BTRFS_UUID_SIZE)
ctf_integer(u64, offset, block_group->key.objectid)
ctf_integer(u64, size, block_group->key.offset)
ctf_integer(u64, flags, block_group->flags)
@@ -562,7 +562,7 @@ LTTNG_TRACEPOINT_EVENT(btrfs_space_reser
TP_ARGS(fs_info, type, val, bytes, reserve),
TP_FIELDS(
- ctf_array(u8, fsid, fs_info->fsid, BTRFS_UUID_SIZE)
+ ctf_array(u8, fsid, fs_info->fs_devices->fsid, BTRFS_UUID_SIZE)
ctf_string(type, type)
ctf_integer(u64, val, val)
ctf_integer(u64, bytes, bytes)