diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-01-17 12:54:39 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:06 +0200 |
commit | 6c566def955cab6ae420d1c901674b8254d9d480 (patch) | |
tree | a9c128d24d526912575ccd227b12728bd44164e3 /fs/btrfs/extent_map.h | |
parent | btrfs: change root->root_key.objectid to btrfs_root_id() (diff) | |
download | linux-6c566def955cab6ae420d1c901674b8254d9d480.tar.xz linux-6c566def955cab6ae420d1c901674b8254d9d480.zip |
btrfs: pass the extent map tree's inode to add_extent_mapping()
Extent maps are always added to an inode's extent map tree, so there's no
need to pass the extent map tree explicitly to add_extent_mapping().
In order to facilitate an upcoming change that adds a shrinker for extent
maps, change add_extent_mapping() to receive the inode instead of its
extent map tree.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
0 files changed, 0 insertions, 0 deletions