diff options
| author | Qu Wenruo <wqu@suse.com> | 2023-07-15 14:08:30 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-08-21 15:52:17 +0300 |
| commit | 730c374e5b2cec061e3af7616b9d1265e60b6c0a (patch) | |
| tree | fe269261d8986a70d0458624e6c2c37f8ee74ae9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | cb22964f1dad228fc2a1e5aba50c16b4b5680cd5 (diff) | |
| download | linux-730c374e5b2cec061e3af7616b9d1265e60b6c0a.tar.xz | |
btrfs: use write_extent_buffer() to implement write_extent_buffer_*id()
Helpers write_extent_buffer_chunk_tree_uuid() and
write_extent_buffer_fsid(), they can be implemented by
write_extent_buffer().
These two helpers are not that frequently used, they only get called
during initialization of a new tree block. There is not much need for
those slightly optimized versions. And since they can be easily
converted to one write_extent_buffer() call, define them as inline
helpers.
This would make later page/folio switch much easier, as all change only
need to happen in write_extent_buffer().
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
