btrfs: pass struct btrfs_inode to btrfs_inode_inherit_props()
authorDavid Sterba <dsterba@suse.com>
Tue, 18 Feb 2025 00:19:47 +0000 (01:19 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:44 +0000 (20:35 +0100)
commit101ab6d1ffb1b9f6cd72edb81f957f9293cb28aa
tree12fe857b19498b4189395d5ab41560ad7ab3364f
parent308a02a447cf6685becdafaadf50fff3b95271d2
btrfs: pass struct btrfs_inode to btrfs_inode_inherit_props()

Pass a struct btrfs_inode to btrfs_inherit_props() 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/inode.c
fs/btrfs/props.c
fs/btrfs/props.h