diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-04-17 17:38:45 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:33 +0200 |
| commit | d5ccc38b755fe65ee1214c0b8a46c77af982f187 (patch) | |
| tree | 51edd091455945d3c1e4fda379d58ee12fc02486 | |
| parent | fc5ed6652ded75c4d8f1d1feb038b1314039b9af (diff) | |
| download | linux-d5ccc38b755fe65ee1214c0b8a46c77af982f187.tar.gz linux-d5ccc38b755fe65ee1214c0b8a46c77af982f187.zip | |
btrfs: remove call to transaction commit trace in btrfs_cleanup_transaction()
We are not committing a transaction there, plus in subsequent patches we
want to change the argument for the trace event to be a transaction handle
instead of fs_info and in this context we don't have a transaction handle
(struct btrfs_trans_handle, only a struct btrfs_transaction). So remove the
call to the trace point.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
| -rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 62ef5ba69d37..e6ed52f5cd6d 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -4946,7 +4946,6 @@ static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info) spin_unlock(&fs_info->trans_lock); btrfs_put_transaction(t); - trace_btrfs_transaction_commit(fs_info); spin_lock(&fs_info->trans_lock); } spin_unlock(&fs_info->trans_lock); |
