summaryrefslogtreecommitdiff
path: root/fs/bcachefs/replicas_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-10-30 21:14:19 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:10 +0300
commit7a920560d727701c4397a5448085f99bf9f060d5 (patch)
tree0881080089d1680faa8f9f2e828bd01d4a21111d /fs/bcachefs/replicas_types.h
parent198d67006b6015724a840e8586a484c6590fc975 (diff)
downloadlinux-7a920560d727701c4397a5448085f99bf9f060d5.tar.xz
bcachefs: kill struct bch_replicas_cpu_entry
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas_types.h')
-rw-r--r--fs/bcachefs/replicas_types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/bcachefs/replicas_types.h b/fs/bcachefs/replicas_types.h
new file mode 100644
index 000000000000..3061840b6a02
--- /dev/null
+++ b/fs/bcachefs/replicas_types.h
@@ -0,0 +1,11 @@
+#ifndef _BCACHEFS_REPLICAS_TYPES_H
+#define _BCACHEFS_REPLICAS_TYPES_H
+
+struct bch_replicas_cpu {
+ struct rcu_head rcu;
+ unsigned nr;
+ unsigned entry_size;
+ struct bch_replicas_entry entries[];
+};
+
+#endif /* _BCACHEFS_REPLICAS_TYPES_H */