diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-04-17 17:33:34 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:33 +0200 |
| commit | fc5ed6652ded75c4d8f1d1feb038b1314039b9af (patch) | |
| tree | 2adbd845a51a07dfb30fb37323cb0d6f855b656f | |
| parent | 645927cefdb5e024480b5639105fa53a52f986d8 (diff) | |
| download | linux-stable-fc5ed6652ded75c4d8f1d1feb038b1314039b9af.tar.gz linux-stable-fc5ed6652ded75c4d8f1d1feb038b1314039b9af.zip | |
btrfs: remove call to transaction commit trace in warn_about_uncommitted_trans()
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 982df3e31311..62ef5ba69d37 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -4285,7 +4285,6 @@ static void warn_about_uncommitted_trans(struct btrfs_fs_info *fs_info) list_del_init(&trans->list); btrfs_put_transaction(trans); - trace_btrfs_transaction_commit(fs_info); } ASSERT(!found); } |
