diff options
| author | Filipe Manana <fdmanana@suse.com> | 2024-12-18 12:59:51 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:20 +0100 |
| commit | c9a4390707c8b6a6f022526a5618e76d24bc6cb2 (patch) | |
| tree | dcbf7dd541f85142e90f96ab708f5ff37e8b6127 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | btrfs: root-tree: remove unnecessary calls to btrfs_mark_buffer_dirty() (diff) | |
| download | linux-c9a4390707c8b6a6f022526a5618e76d24bc6cb2.tar.gz linux-c9a4390707c8b6a6f022526a5618e76d24bc6cb2.zip | |
btrfs: uuid-tree: remove unnecessary call to btrfs_mark_buffer_dirty()
The call to btrfs_mark_buffer_dirty() at btrfs_uuid_tree_add() is not
necessary as we have a path setup for writing with btrfs_search_slot()
having a 'cow' argument set to 1 (through btrfs_insert_empty_item()).
This just makes the code more verbose, confusing and add a little extra
overhead and well as increase the module's text size, so remove it.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
