diff options
author | Qu Wenruo <wqu@suse.com> | 2023-07-15 19:08:30 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:52:17 +0200 |
commit | 730c374e5b2cec061e3af7616b9d1265e60b6c0a (patch) | |
tree | fe269261d8986a70d0458624e6c2c37f8ee74ae9 /fs/smb | |
parent | cb22964f1dad228fc2a1e5aba50c16b4b5680cd5 (diff) |
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 'fs/smb')
0 files changed, 0 insertions, 0 deletions