summaryrefslogtreecommitdiff
path: root/libbcachefs/subvolume_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/subvolume_types.h')
-rw-r--r--libbcachefs/subvolume_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/subvolume_types.h b/libbcachefs/subvolume_types.h
index ae644adf..9b10c894 100644
--- a/libbcachefs/subvolume_types.h
+++ b/libbcachefs/subvolume_types.h
@@ -20,6 +20,8 @@ struct snapshot_t {
};
struct snapshot_table {
+ struct rcu_head rcu;
+ size_t nr;
#ifndef RUST_BINDGEN
DECLARE_FLEX_ARRAY(struct snapshot_t, s);
#else