diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-10-12 14:55:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-10-12 15:10:26 -0400 |
commit | 55fbb25501330038e1714905b9ddeb25d875c11c (patch) | |
tree | cecfd15e26bfd60d95eea8a373e42337239e7c8c /libbcachefs/io.h | |
parent | 0268bec14bcf64b25b5dd75a470be8e85cbe676d (diff) |
Update bcachefs sources to d7f6da1d60 bcachefs: fix missing include
Diffstat (limited to 'libbcachefs/io.h')
-rw-r--r-- | libbcachefs/io.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/io.h b/libbcachefs/io.h index 68539c7..1724232 100644 --- a/libbcachefs/io.h +++ b/libbcachefs/io.h @@ -1,7 +1,6 @@ #ifndef _BCACHEFS_IO_H #define _BCACHEFS_IO_H -#include "alloc.h" #include "checksum.h" #include "io_types.h" @@ -71,7 +70,7 @@ static inline void bch2_write_op_init(struct bch_write_op *op, struct bch_fs *c, op->nr_replicas = 0; op->nr_replicas_required = c->opts.data_replicas_required; op->alloc_reserve = RESERVE_NONE; - op->open_buckets_nr = 0; + op->open_buckets.nr = 0; op->devs_have.nr = 0; op->target = 0; op->opts = opts; |