diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-07-27 08:49:46 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-08-07 19:17:18 +0200 |
| commit | 4609c9276ab12022e55c1db42ef714e3ba801e5a (patch) | |
| tree | 66d6bd1ffc886e6226595621bc5de6fc84dbf0a5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 12d2f44bdfce4cee463415a0392cb7aaeb53f255 (diff) | |
btrfs: convert reflink.c to use btrfs_inode as parameters
Inside reflink.c we still have a lot of functions passing VFS inode
pointers, then internally convert them into btrfs_inode pointers.
For example, inside btrfs_clone(), we have 12 BTRFS_I() call sites,
while only 3 callsites that really require a VFS inode pointer.
Do the cleanup to convert the following functions to pass a btrfs_inode
pointer instead of a vanilla inode pointer:
- btrfs_clone()
- btrfs_extent_same_range()
- clone_finish_inode_update().
Which covers all ad-hoc BTRFS_I() call sites inside reflink.c.
Reviewed-by: Daniel Vacek <neelx@suse.com>
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
