diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-12-18 15:26:42 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 16:53:19 +0300 |
commit | a81ae6c31d6431a7d6a7c9c9c6bfcecaa6b68917 (patch) | |
tree | cc67c574402f1c22e8b07dd2f274823b91bbb5a6 /fs/btrfs/dev-replace.c | |
parent | ca9d907645d361519a2719573c0174517655458a (diff) | |
download | linux-a81ae6c31d6431a7d6a7c9c9c6bfcecaa6b68917.tar.xz |
btrfs: delayed-inode: remove unnecessary call to btrfs_mark_buffer_dirty()
The call to btrfs_mark_buffer_dirty() at __btrfs_update_delayed_inode() 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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions