summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorJosef Bacik2019-06-18 22:09:16 +0200
committerDavid Sterba2019-07-02 12:30:51 +0200
commit8719aaae8d696bf0c73f74e6d6cc75451b50d5df (patch)
tree09af977a56434e943ab9b33871df5f39c7dc3dd8 /fs/btrfs/sysfs.c
parentbtrfs: lift bio_set_dev from bio allocation helpers (diff)
downloadkernel-qcow2-linux-8719aaae8d696bf0c73f74e6d6cc75451b50d5df.tar.gz
kernel-qcow2-linux-8719aaae8d696bf0c73f74e6d6cc75451b50d5df.tar.xz
kernel-qcow2-linux-8719aaae8d696bf0c73f74e6d6cc75451b50d5df.zip
btrfs: move space_info to space-info.h
Migrate the struct definition and the one helper that's in ctree.h into space-info.h Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r--fs/btrfs/sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 2f078b77fe14..e6493b068294 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -16,6 +16,7 @@
#include "transaction.h"
#include "sysfs.h"
#include "volumes.h"
+#include "space-info.h"
static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj);
static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);