btrfs: move all btree inode initialization into btrfs_init_btree_inode
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Feb 2023 18:10:22 +0000 (19:10 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:13 +0000 (18:01 +0200)
commitdcb2137c8411d9940ebdfc93bb4de20b7f8fcf42
treea757ce629364a41c88a378154d1294dec78f2b32
parent19337f8ea3fc0ed177142bbaf8496cda26f1432e
btrfs: move all btree inode initialization into btrfs_init_btree_inode

Move the remaining code that deals with initializing the btree
inode into btrfs_init_btree_inode instead of splitting it between
that helpers and its only caller.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c