diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-03 20:11:29 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-03 20:19:25 -0400 |
commit | 2ab2ab0f781ae750473763e8a042c900a982d399 (patch) | |
tree | 2d76ee40a4cf6b6a54c180a9100216cc45c26f91 /libbcachefs/replicas_types.h | |
parent | e288c9f1de8a1b21a77cbfb80dfec37f2515e33c (diff) |
Update bcachefs sources to b12d1535f3 bcachefs: fix bounds checks in bch2_bio_map()
Diffstat (limited to 'libbcachefs/replicas_types.h')
-rw-r--r-- | libbcachefs/replicas_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbcachefs/replicas_types.h b/libbcachefs/replicas_types.h new file mode 100644 index 00000000..3061840b --- /dev/null +++ b/libbcachefs/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 */ |