summaryrefslogtreecommitdiff
path: root/fs/bcachefs/replicas_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-01 18:32:48 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:13 +0300
commit73e6ab95640a7d370b7af481e8ed44be7c76b898 (patch)
treecd6ab49b19c918b2ba3edca747f815c8f91eca51 /fs/bcachefs/replicas_types.h
parent56e0e7c79f492df2a5ad207a0ba16f13511b6416 (diff)
downloadlinux-73e6ab95640a7d370b7af481e8ed44be7c76b898.tar.xz
bcachefs: Switch replicas to mark_lock
Prep work for upcoming disk accounting changes Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas_types.h')
-rw-r--r--fs/bcachefs/replicas_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/replicas_types.h b/fs/bcachefs/replicas_types.h
index 3061840b6a02..0535b1d3760e 100644
--- a/fs/bcachefs/replicas_types.h
+++ b/fs/bcachefs/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 */