summaryrefslogtreecommitdiff
path: root/fs/btrfs/props.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-19 17:50:47 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:41 +0300
commitc7f13d428ea1bfe883f2741a9b5a5352d595eb09 (patch)
tree98cfa0c86adf38f7dbd6a73971c84d767d15d8cd /fs/btrfs/props.c
parent875c627c5f2045e2b5f0ad6692799e8fb931f3cb (diff)
downloadlinux-c7f13d428ea1bfe883f2741a9b5a5352d595eb09.tar.xz
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/props.c')
-rw-r--r--fs/btrfs/props.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c
index e04289347775..d2c699c9aa51 100644
--- a/fs/btrfs/props.c
+++ b/fs/btrfs/props.c
@@ -11,6 +11,7 @@
#include "xattr.h"
#include "compression.h"
#include "space-info.h"
+#include "fs.h"
#define BTRFS_PROP_HANDLERS_HT_BITS 8
static DEFINE_HASHTABLE(prop_handlers_ht, BTRFS_PROP_HANDLERS_HT_BITS);