]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move the fs_info related helpers closer to fs_info in ctree.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 23:04:46 +0000 (19:04 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:06 +0000 (12:28 +0200)
commit6258763e3114eeeacace10fd000991b08d0f2e2e
tree3f3c219794230f52c630f4436363feb62c4ae297
parent700846d1df0a2dc54b783b1fd231206df469fde4
btrfs: move the fs_info related helpers closer to fs_info in ctree.h

This is purely cosmetic, to make it straightforward to copy and paste
the definition and helpers from ctree.h into fs.h.  These are helpers
that act directly on the fs_info, and were scattered throughout ctree.h.
Move them directly below the fs_info definition to make it easier to
move them later.  This includes the exclop prototypes, which shares an
enum that's used in struct btrfs_fs_info as well.

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