aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 02895a126ab9..af523d695432 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1123,6 +1123,12 @@ struct btrfs_qgroup_limit_item {
1123 __le64 rsv_excl; 1123 __le64 rsv_excl;
1124} __attribute__ ((__packed__)); 1124} __attribute__ ((__packed__));
1125 1125
1126/* For raid type sysfs entries */
1127struct raid_kobject {
1128 int raid_type;
1129 struct kobject kobj;
1130};
1131
1126struct btrfs_space_info { 1132struct btrfs_space_info {
1127 spinlock_t lock; 1133 spinlock_t lock;
1128 1134
@@ -1173,7 +1179,7 @@ struct btrfs_space_info {
1173 wait_queue_head_t wait; 1179 wait_queue_head_t wait;
1174 1180
1175 struct kobject kobj; 1181 struct kobject kobj;
1176 struct kobject block_group_kobjs[BTRFS_NR_RAID_TYPES]; 1182 struct kobject *block_group_kobjs[BTRFS_NR_RAID_TYPES];
1177}; 1183};
1178 1184
1179#define BTRFS_BLOCK_RSV_GLOBAL 1 1185#define BTRFS_BLOCK_RSV_GLOBAL 1