]> 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)
commitd9d88fde56d388108c07e87630caeac59781dd3e
tree3f3c219794230f52c630f4436363feb62c4ae297
parentf119553fd3d2256b211d98fe9822b85510c59d8b
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