btrfs: pass struct btrfs_inode to btrfs_extent_same_range()
authorDavid Sterba <dsterba@suse.com>
Tue, 18 Feb 2025 00:36:53 +0000 (01:36 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:44 +0000 (20:35 +0100)
commit61dbdeb870bbdab28cabe91f6fcbd320fcda4ff2
tree079d7d75f9a157bf17a46f949478e8ddb324fcfc
parent651cef46116f33c0897dc814b4c0ff5df43470c7
btrfs: pass struct btrfs_inode to btrfs_extent_same_range()

Pass a struct btrfs_inode to btrfs_extent_same_range() as it's an
internal interface, allowing to remove some use of BTRFS_I.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/reflink.c