summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/space-info.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-04-20 16:08:27 +0800
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:03:16 +0200
commitf04fbcc64e4be16185151f9fca44ea1b3d074bd0 (patch)
tree91dcb3241e17bc3e91d81077718ced127c489f8b /fs/btrfs/space-info.h
parent385de0ef387dc7f33fc5b828136cbc9516b3ec1a (diff)
downloadlinux-f04fbcc64e4be16185151f9fca44ea1b3d074bd0.tar.gz
linux-f04fbcc64e4be16185151f9fca44ea1b3d074bd0.tar.bz2
linux-f04fbcc64e4be16185151f9fca44ea1b3d074bd0.zip
btrfs: move definition of btrfs_raid_types to volumes.h
It's only internally used as another way to represent btrfs profiles, it's not exposed through any on-disk format, in fact this btrfs_raid_types is diverted from the on-disk format values. Furthermore, since it's internal structure, its definition can change in the future. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.h')
-rw-r--r--fs/btrfs/space-info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h
index a803e29bd781..c096695598c1 100644
--- a/fs/btrfs/space-info.h
+++ b/fs/btrfs/space-info.h
@@ -3,6 +3,8 @@
#ifndef BTRFS_SPACE_INFO_H
#define BTRFS_SPACE_INFO_H
+#include "volumes.h"
+
struct btrfs_space_info {
spinlock_t lock;