diff options
author | 2024-12-18 12:48:39 +0000 | |
---|---|---|
committer | 2025-01-13 14:53:20 +0100 | |
commit | bd25bf9dcd3c3d57a22a04bd73845911d33e3ac1 (patch) | |
tree | f8cf23a8bb4fa99d6c73e90e8fd88995bbcecbe6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: inode-item: remove unnecessary calls to btrfs_mark_buffer_dirty() (diff) | |
download | wireguard-linux-bd25bf9dcd3c3d57a22a04bd73845911d33e3ac1.tar.xz wireguard-linux-bd25bf9dcd3c3d57a22a04bd73845911d33e3ac1.zip |
btrfs: ioctl: remove unnecessary call to btrfs_mark_buffer_dirty()
The call to btrfs_mark_buffer_dirty() at btrfs_ioctl_default_subvol() is
not necessary as we have a path setup for writing with btrfs_search_slot()
having a 'cow' argument set to 1.
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