btrfs: pass struct btrfs_inode to new_simple_dir()
authorDavid Sterba <dsterba@suse.com>
Mon, 17 Feb 2025 22:01:15 +0000 (23:01 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:43 +0000 (20:35 +0100)
commit11af82b02bf669dce8e95bfe4ca3bcf1837a70c7
treec8a32210fe15b244e5855366f836c5421fde0c34
parent4ea2fb9c628b55929bbc380d8c18733d1d027f1d
btrfs: pass struct btrfs_inode to new_simple_dir()

Pass a struct btrfs_inode to new_simple_dir() 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