diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-01 10:32:48 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:13 -0400 |
commit | 73e6ab95640a7d370b7af481e8ed44be7c76b898 (patch) | |
tree | cd6ab49b19c918b2ba3edca747f815c8f91eca51 /fs/bcachefs/replicas_types.h | |
parent | 56e0e7c79f492df2a5ad207a0ba16f13511b6416 (diff) | |
download | linux-73e6ab95640a7d370b7af481e8ed44be7c76b898.tar.gz linux-73e6ab95640a7d370b7af481e8ed44be7c76b898.tar.bz2 linux-73e6ab95640a7d370b7af481e8ed44be7c76b898.zip |
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.h | 3 |
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 */ |