summaryrefslogtreecommitdiff
path: root/libbcachefs/replicas_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-12 06:21:55 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-12 06:25:37 -0500
commita10a41fa2b1a917b0f3b34d20175867f968b2d12 (patch)
treeb61aa3e0912c2a6928356aeb5273fb528b4f21ba /libbcachefs/replicas_types.h
parent0c7db4eca3e6519043c10288cb41f8a0ee634a0b (diff)
Update bcachefs sources to f7670cba39 bcachefs: Fix for building in userspace
Diffstat (limited to 'libbcachefs/replicas_types.h')
-rw-r--r--libbcachefs/replicas_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/replicas_types.h b/libbcachefs/replicas_types.h
index 3061840b..0535b1d3 100644
--- a/libbcachefs/replicas_types.h
+++ b/libbcachefs/replicas_types.h
@@ -2,10 +2,9 @@
#define _BCACHEFS_REPLICAS_TYPES_H
struct bch_replicas_cpu {
- struct rcu_head rcu;
unsigned nr;
unsigned entry_size;
- struct bch_replicas_entry entries[];
+ struct bch_replicas_entry *entries;
};
#endif /* _BCACHEFS_REPLICAS_TYPES_H */