diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-19 16:50:47 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:41 +0100 |
commit | c7f13d428ea1bfe883f2741a9b5a5352d595eb09 (patch) | |
tree | 98cfa0c86adf38f7dbd6a73971c84d767d15d8cd /fs/btrfs/super.c | |
parent | btrfs: send add define for v2 buffer size (diff) | |
download | linux-c7f13d428ea1bfe883f2741a9b5a5352d595eb09.tar.xz linux-c7f13d428ea1bfe883f2741a9b5a5352d595eb09.zip |
btrfs: move fs wide helpers out of ctree.h
We have several fs wide related helpers in ctree.h. The bulk of these
are the incompat flag test helpers, but there are things such as
btrfs_fs_closing() and the read only helpers that also aren't directly
related to the ctree code. Move these into a fs.h header, which will
serve as the location for file system wide related helpers.
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 42e0d2fcc407..ef646a1d9bc2 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -49,6 +49,7 @@ #include "discard.h" #include "qgroup.h" #include "raid56.h" +#include "fs.h" #define CREATE_TRACE_POINTS #include <trace/events/btrfs.h> |