btrfs: move fs_info forward declarations to the top of ctree.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 23:04:44 +0000 (19:04 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:06 +0000 (12:28 +0200)
commit0e75f0054a2a16295352f453eb1683b4d1b940dd
treeb7cbf57e423cff1f7765f02377376ac0fdeafffd
parent2103da3b0e3a3a4846c74438ff44258e68567127
btrfs: move fs_info forward declarations to the top of ctree.h

In order to make it more straightforward to move the fs_info struct and
it's related structures, move the struct declarations to the top of
ctree.h.  This will make it easier to clean up after the fact.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h